How to open Atom editor from command line in OS X?

后端 未结 18 1860
天命终不由人
天命终不由人 2020-12-02 03:44

I have the Atom editor and was wondering how you can open a file or folder from the terminal in Atom. I am using a Mac. I am looking for a way to do this:

at         


        
18条回答
  •  庸人自扰
    2020-12-02 04:11

    For Windows 7 x64 with default Atom installation add this to your PATH

    %USERPROFILE%\AppData\Local\atom\app-1.4.0\resources\cli
    

    and restart any running consoles

    (if you don't find Atom there - right-click Atom icon and navigate to Target)

提交回复
热议问题