Skip to Content

Visual Studio Code

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. Widely used by developers, Visual Studio Code is free and open-source. VScode includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring. With the power of extensions, VScode can be extended to support almost any programming language.

Download the latest stable version of VS Code from the official website for your platform:

https://code.visualstudio.com/download

Step-by-step Installation Guide

Windows

Step 1: Download the installer

Click on the Windows download link above and save the installer file (e.g., VSCodeUserSetup-x64-1.78.2.exe) to your computer.

Step 2: Run the installer

Double-click the downloaded installer file to start the installation process.

Step 3 Accept the license agreement

Read the license agreement and click on the “I accept the agreement” checkbox if you agree to the terms.

Step 4 Choose installation location

Select the destination folder where you want to install VS Code. You can leave the default location unchanged or browse to a different directory.

Step 5 Select Start Menu folder

Choose a Start Menu folder for the VS Code shortcuts. You can leave the default selection or create a new folder.

Step 6 Select additional tasks

Choose any additional tasks you want to perform during installation, such as creating a desktop icon or adding VS Code to the PATH environment variable.

Step 7 Complete the installation

Click on the “Install” button to start the installation process.

Step 8 Launch VS Code

Once the installation is complete, you can launch VS Code by clicking on the “Finish” button.

macOS

Step 1 Download the disk Image

Click on the macOS download link above and save the disk image file (e.g., VSCode-darwin-universal.zip) to your computer.

Step 2 Open the disk image

Double-click the downloaded disk image file to mount it.

Step 3 Move VS Code to Applications

Drag the Visual Studio Code application icon to the Applications folder.

Step 4 Launch VS Code

Open the Applications folder and double-click on the Visual Studio Code application icon to launch it.

Linux

The installation process for Linux may vary depending on your distribution. Here are the general steps for installing VS Code using the Debian package (.deb) file:

Step 1 Download the Debian package

Click on the Linux download link above and select the Debian package (.deb) file for your system architecture (e.g., code_1.78.2-1683058348_amd64.deb).

Step 2 Open a terminal

Open a terminal window.

Step 3 Navigate to the download directory

Use the cd command to navigate to the directory where you downloaded the Debian package file.

Step 4 Install the package

Run the following command to install VS Code:

vscode
sudo dpkg -i code_*.deb

Step 5 Launch VS Code

Once the installation is complete, you can launch VS Code by searching for it in your applications menu or by typing code in the terminal.

Verification

To verify that VS Code is installed correctly, launch the application and check if it opens without any errors. You can also try creating a new file and writing some code to see if the editor functions properly.

If you encounter any other issues during installation, consult the VS Code documentation or search online for solutions.

Last updated on