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 2020.x. Visual Studio Code combines the simplicity of a source code editor with powerful developer tooling, like IntelliSense code completion and debugging.

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 https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -

Then add APT repository for VS Code to Kali Linux:

echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode 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
  xsltproc
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  code
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:

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/04/echo/install-visual-studio-code-01-1024×402.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

You are now set to start your new Development experience.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/04/echo/install-visual-studio-code-02.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

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.

More on Kali Linux:

How To Install TeamViewer on Kali Linux

How To Install Zoom Client on Kali Linux