Install Visual Studio Code on Kali Linux

avatar
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.

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.

Comments

No comments yet…