/blog/articles/

Open files in Atom Editor from the command line

If you are like me and spent quite some time on the command line, navigating directories, using git, grunt and all the other fancy things, you might want to open files and folders in your favourite editor right from where you are.

When using Atom Editor, this is very easy. Atom automatically creates a sym link in your /usr/local/bin when it's installed. That means you can use these commands:

Open current folder:

$ atom .

Open a file

$ atom style.scss

Just open Atom

$ atom
Martin Wolf

Hi, I’m Martin Wolf, a Freelance Frontend Web Developer from Germany.
I believe in hard work and sharing what I know.

Contact me

Interested in working with me? Fantastic! The best way to get in touch is by email (hello@martinwolf.org). I’m looking forward to hearing from you.