

a or -add: Add folders to the current window Or: subl - Edit files that may start with '-' The available flags will vary per operating system – the following example is from a Mac. To see the available flags, run subl -help. Most default PATH environment variable values should contain /usr/local/bin, so no further commands should be necessary. The exact details of the symlink command will depend on the installation location. Sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl If installing from a tarball, the sublime_text executable should be symlinked to subl, with a command such as: If Sublime Text is installed via one of the Linux Package Manager Repositories or a package, a subl symlink will automatically be installed into the /usr/bin/ directory. If using Zsh, the default starting with macOS 10.15, the following command will add the bin folder to the PATH environment variable:Įcho 'export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH"' > ~/.zprofile If using Bash, the default before macOS 10.15, the following command will add the bin folder to the PATH environment variable:Įcho 'export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH"' > ~/.bash_profile For a typical installation of Sublime Text, this will be located at /Applications/Sublime Text.app/Contents/SharedSupport/bin. To use subl, the Sublime Text bin folder needs to be added to the path.
#Uninstall java command line tool mac windows#
32bit installs on a 32bit version of Windows will be in C:\Program Files\Sublime Text\.32bit installs on a 64bit version of Windows will be in C:\Program Files (x86)\Sublime Text\.64bit installs are typically in C:\Program Files\Sublime Text\.If there is an existing value, add a before the Sublime Text directory. In the Variable value input, add an entry with the Sublime Text installation directory.

Select, or create, the Path environment variable in the appropriate section:įor the current user, select Path in the User variables for sectionįor all users, select Path in the System variables section
#Uninstall java command line tool mac windows 8#
Show instructions for: Windows 10, Windows 8
