Install Sublime Text 3 on Ubuntu 18.10

I’ve recently bought a new laptop and needed to set it up again.

Sublime was one of the first things I wanted to install but it wasn’t as easy as it should be to install.

I used the following commands to install and run sublime!

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-add-repository "deb https://download.sublimetext.com/ apt/stable/"
sudo apt install sublime-text
subl