VS Code in Kali Linux
Just a little blog post on setting up one of my favorite code editors in Kali Linux.
Setting up Visual Studio Code on Kali Linux is actually quite simple. If you like to use a GUI code editor to rewrite some exploit code or make a quick Python script, follow the commands below and you are ready to start working with VS Code!
Download the Microsoft GPG key and convert it from OpenPGP ASCII armor format to GnuPG format
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
Move the file into your apt trusted keys directory:
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
Add the Visual Studio Code Repository to
echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list
Update and install Visual Studio Code
apt update && apt install code
That’s it, good to go!
Don’t forget to install some Extensions for Python, Ruby or PHP, whatever is needed. Have fun using VS Code in Kali, or not. It’s totally up to you :)
If you like my work you can buy me a coffee :)