I am planning to develop a cross-platform script. On Linux and other operating systems, it will store configuration in XDG_CONFIG_HOME
and data files (specifically,
I would use ~/Library/Application Support/script_name/
. The subdirectories inside Application Support
are used conventionally by various apps, including Apple's own softwares. But it's not enforced by the OS and not tied to apps inside /Applications
. So you're perfectly free to create your own directory in it.
For the directory structure of OS X in general, see this Apple document.