Install sublime text on kali linux/debian

Install the GPG key:

wget -qO - | sudo apt-key add -

Ensure apt is set up to work with https sources:

sudo apt-get install apt-transport-https

Select the channel to use:


echo "deb apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list


echo "deb apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Update apt sources and install Sublime Text

sudo apt-get update 
sudo apt-get install sublime-text

Source: Sublime text