How to install Visual Studio Code?

Created Jan 15, 2024Last modified Jan 15, 2024
VSCodemacOSWindowsLinux

macOS

1. Download VS Code

Visit the Visual Studio Code website and download the macOS version.

2. Install VS Code

Open the downloaded .dmg file, drag the VS Code icon to the Applications folder, and then launch it.

Linux

1. Download VS Code

wget -O code.deb https://go.microsoft.com/fwlink/?LinkID=760868

2. Install VS Code

Ubuntu/Debian-based

sudo dpkg -i code.deb
# Resolve any missing or broken dependencies required by Visual Studio Code
sudo apt-get install -f

Fedora

sudo dnf install code

Windows

1. Download VS Code

Visit the Visual Studio Code website and download the Windows version.

2. Run Installer

Run the downloaded installer executable file. Follow the on-screen instructions, and make sure to check the box that says "Add to PATH" during installation.

3. Launch VS Code

After installation, you can launch VS Code from the Start menu.