Sublime Text from Command Line
Sublime Text from Command Line
Sublime Text from Command Line
Re: Sublime Text from Command Line
From build [3065](http://www.sublimetext.com/3) (Release Date: 29 August 2014) onwards `Sublime text` includes a command line helper, nameley `subl.exe`. It is at sublime's installation folder: copy it in to a folder included in the system path.
For example, in my case I copied it
from `C:\Program Files\Sublime Text 3`
to `C:\Windows\System32`
You may then use in your terminal/console `subl` as a command to open whatever file, such as in your example:
`subl file.rb`
Or you may as well modify your system `PATH` variable to include sublime's instalation folder, but I believe that is much more involved.
For example, in my case I copied it
from `C:\Program Files\Sublime Text 3`
to `C:\Windows\System32`
You may then use in your terminal/console `subl` as a command to open whatever file, such as in your example:
`subl file.rb`
Or you may as well modify your system `PATH` variable to include sublime's instalation folder, but I believe that is much more involved.