Install Visual Studio Code on Kali Linux

In this article, we’re going to install Visual Studio Code on Kali. I’m testing on Kali 2020.2.

Installation

At first we need to update our system:

sudo apt update -y

Then install some pakcgaes:

sudo apt install curl gpg software-properties-common apt-transport-https -y

Import Microsoft GPG key:

curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -

Then add a repository for VS Code:

echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" | sudo tee /etc/apt/sources.list.d/vscode.list

Now we’re able to install VS Code:

# update system again
sudo apt update -y

# finally install
sudo apt install code -y

That’s it. Thanks for reading.


Software Engineer | Ethical Hacker & Cybersecurity...

Md Obydullah is a software engineer and full stack developer specialist at Laravel, Django, Vue.js, Node.js, Android, Linux Server, and Ethichal Hacking.

Similar Stories