How To Install Microsoft Visual Studio Code on Linux

How To Install Microsoft Visual Studio Code on Linux

To install Microsoft Visual Studio Code on Linux, follow these steps:

  1. Download the Visual Studio Code installer for Linux from the Visual Studio Code website.

  2. Open a terminal and navigate to the directory where you downloaded the installer.

  3. Use the chmod command to make the installer executable:

chmod +x code-stable-<version>.<architecture>.deb
S‮o‬urce:www.lautturi.com
  1. Install Visual Studio Code using the dpkg command:
sudo dpkg -i code-stable-<version>.<architecture>.deb
  1. If you encounter any dependency issues during the installation, you can use the apt-get command to install the missing dependencies:
sudo apt-get install -f
  1. Launch Visual Studio Code by running the code command in the terminal or by clicking on the Visual Studio Code icon in the application launcher.

Note: If you are using a different Linux distribution, you can download the Visual Studio Code package for your distribution from the Visual Studio Code website and follow the appropriate installation instructions for your distribution.

Created Time:2017-10-28 21:38:52  Author:lautturi