2017 March 17

How to open a file in Atom editor from a Mac terminal?

When atom installs, it sets up a symbolic link to the location where it is installed. You can open a file or folder in atom by using the following commands

a) Open the editor

$ atom

b) Open a file

$ atom index.html

c) Open atom in the current folder

$ atom .

Share it onShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn