Search code examples
atom-editormacos-high-sierra

Atom won't start from the command line


I updated OSX to High Sierra and my Atom stopped working from the command line.

$ atom . FSPathMakeRef(/Applications/Atom.app) failed with error -36.

I a have uninstalled Atom and reinstalled Atom and ran "Install Shell Commands". :/

any suggestions?


Solution

  • Run Atom by clicking on the icon in the Applications folder. Once Atom is running go to the Atom menu and click on the "Install Shell Commands". Next time you want to run atom, type atom on a terminal command line. If this doesn't work try putting the following statement in your .bash_profile

    alias atom="Applications/Atom.app/Contents/MacOs/Atom"