Install Visual Studio Code on Kali Linux

Published: Sep 08, 2020 - Updated: Feb 08, 2023

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


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 | sudo apt-key add -

Then add a repository for VS Code:

echo "deb [arch=amd64] 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.


No comments yet…