Hi,
Is there a way to open Sublime from Linux’s command line? I am running Linux Mint 18.1.
Any help is appreciated.
Hi,
Is there a way to open Sublime from Linux’s command line? I am running Linux Mint 18.1.
Any help is appreciated.
I don’t have any experience with that particular Linux distribution, but in general all you have to do is one of the following:
PATH
to make it availablePATH
alreadyUnder Linux I install via the tarball, and there the binary is named sublime_text
; using a package of some sort may or may not modify that to be something like subl
or just sublime
though. If you use the second method, you can name your symlink anything you want, e.g. to make it less to type.
It’s also possible that when installing via a package everything is pre-setup for you (I have no way to tell, however). You might try just running sublime_text
directly from the terminal to see if it works (or check the install directory to double check what the binary name is if it’s not sublime_text
and try that instead).
Try to use subl /path
(or . for current dir) if command not found check system PATH