
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. 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 Click the button Environment Variables at the bottom of the System Properties dialog. Click on Advanced System Settings in the left-hand sidebar. Right-click on Computer and select Properties. Show instructions for: Windows 10, Windows 8