The process of installing Sublime Text is different for each platform, but in each case you need to visit the download page.
After installing ST3, it is common to install the package manager, Package Control.
For Mac, there is only one version of Sublime Text for OS X.
Download .dmg file
Open .dmg file
Drag the Sublime Text 3 bundle into the Applications folde
To create a symbolic link to use at the command line issue the following command at the terminal:
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
For Windows, both 64-bit and 32-bit versions are available, portable and non-portable. You should be able to run the 64-bit version if you are using a modern version of Windows. If you are having trouble running the 64-bit version, try the 32-bit version.
Portable or Not Portable? Sublime Text comes in two flavors for Windows: normal, and portable. Most users should be better served by a normal installation. Use the portable version only if you know you need it.
Normal installations separate data between two folders: the installation folder proper, and the data directory (user-specific directory for data). Normal installations also integrate Sublime Text with Windows Explorer's context menu.
Portable installations keep all files needed by Sublime Text in a single folder. This folder can be moved around and the editor will still work.
How to Install the Normal Version of Sublime Text
How to Install the Portable Version of Sublime Text
Download the compressed files
Unzip them to a folder of your choice
You will find the sublime_text.exe executable inside that folder.
For Linux, run this command in your terminal to check your operating system’s type:
You can download the package and uncompress it manually. Alternatively, you can use the command line.
cd ~ wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3083_i386.deb
cd ~ wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3083_amd64.deb
Other Linux Distributions
cd ~ wget http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3083_x32.tar.bz2 tar vxjf sublime_text_3_build_3083_x32.tar.bz2
cd ~ wget http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3083_x64.tar.bz2 tar vxjf sublime_text_3_build_3083_x64.tar.bz2
Now we should move the uncompressed files to an appropriate location.
sudo mv Sublime\ Text\ 3 /opt/ Lastly, we create a symbolic link to use at the command line. sudo ln -s /opt/Sublime\ Text\ 3/sublime_text /usr/bin/sublime
In Ubuntu, if you also want to add Sublime Text to the Unity launcher, do the following:
First, create a new file.
sudo sublime /usr/share/applications/sublime.desktop
Copy the following into it.
[Desktop Entry] Version=1.0 Name=Sublime Text 3 # Only KDE 4 seems to use GenericName, so we reuse the KDE strings. # From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413. GenericName=Text Editor Exec=sublime Terminal=false Icon=/opt/Sublime Text 3/Icon/48x48/sublime_text.png Type=Application Categories=TextEditor;IDE;Development X-Ayatana-Desktop-Shortcuts=NewWindow [NewWindow Shortcut Group] Name=New Window Exec=sublime -n TargetEnvironment=Unity
If you’ve registered your copy of Sublime Text, but every time you open it you’re asked to enter your license, you should try running this command.
sudo chown -R username:username /home/username/.config /sublime-text-3
Replace username with your account’s username. This should fix the permission error in the case that you opened up Sublime Text as root when you first entered the license.