Where are the atom command line tools?


As part of the Mac OSX intall, Atom installs the atom and apm commands. Where are the binaries for these commands located? I can’t find them in /Applications/Atom.app but perhaps I didn’t look hard enough?


I found them. Posting here for informational purposes. The tools themselves are both stored in /Applications/Atom.app.

apm is located here:

and atom is located here:

There are symbolic links in /usr/local/bin so that the commands will be in your $PATH:
apm -> /Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm
atom -> /Applications/Atom.app/Contents/Resources/app/atom.sh


Did you use the find command?

$ cd /Applications/Atom.app/
$ find . -type f -name apm
$ find . -type f -name atom
$ find . -type f -name atom.sh

Oh, we wrote posts at about the same time… I was also going to suggest readlink.

$ readlink "$(which apm)"
$ readlink "$(which atom)"