Visual Studio Code is a free to use code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code runs on Linux, Windows and macOS. This short tutorial will discuss how you can install Visual Studio Code on Kali Linux 2021.x. Visual Studio Code combines the simplicity of a source code editor with powerful developer tooling, like IntelliSense code completion and debugging.

Install Visual Studio Code on Kali Linux

We will be using the official APT repository for the installation of Visual Studio Code on Kali Linux. Before adding the repository, update your system and install the package below.

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

Import Microsoft GPG key to your Kali Linux:

curl -sSL | sudo apt-key add -

Then add APT repository for VS Code to Kali Linux:

echo "deb [arch=amd64] stable main" | sudo tee /etc/apt/sources.list.d/vscode.list

Finally install Visual Studio Code on Kali Linux:

sudo apt update
sudo apt install code

Be patient as the installation of VS Code on Kali Linux starts. It should be a quick process depending on how good your internet is:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  figlet finger firebird3.0-common firebird3.0-common-doc freerdp2-x11 gdal-data libarmadillo9 libarpack2 libbson-1.0-0 libcfitsio8 libcharls2
  libconfig-inifiles-perl libdap25 libdapclient6v5 libepsilon1 libfbclient2 libfreerdp-client2-2 libfreerdp2-2 libfreexl1 libfyba0 libgeotiff5
  libhdf4-0-alt libkmlbase1 libkmldom1 libkmlengine1 libmemcached11 libmongoc-1.0-0 libnetcdf15 libodbc1 libogdi4.1 libqhull7 libspatialite7 libssh-4
  libsuperlu5 liburiparser1 libwinpr2-2 libxerces-c3.2 medusa odbcinst odbcinst1debian2 python3-aiohttp python3-aioredis python3-ajpy
  python3-apscheduler python3-async-timeout python3-git python3-gitdb python3-multidict python3-pyexploitdb python3-pyfiglet python3-pyshodan
  python3-pysmi python3-pysnmp4 python3-quamash python3-smmap python3-tld python3-yarl python3-yaswfp rwho rwhod sparta-scripts toilet-fonts wapiti
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 819 not upgraded.
Need to get 62.3 MB of archives.
After this operation, 265 MB of additional disk space will be used.

Once Visual Studio Code is installed on Kali Linux, launch it:

install visual studio code 01

You are now set to start your new Development experience.

install visual studio code 02

Recommended documents to go through:

  • User Interface – View the documentation for VS Code.
  • Setup Overview – Documentation for getting up and running with VS Code, including platform specific setup.
  • Keyboard Shortcuts – Customize your own shortcuts, download a reference sheet, or install a Keymap extension.
  • Keybinding extensions – Install a Keymap extension to bring the keybindings from your previous editor to VS Code.

Top Cyber Security Learning Video Courses:

More on Kali Linux:

How To Install TeamViewer on Kali Linux

How To Install Zoom Client on Kali Linux

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here