Skip to content

Visual Studio Code

Visual Studio Code is supported on macOS, Windows, and Linux systems.

For more Visual Studio Code documentation, visit visualstudio.com.

Installing Visual Studio Code is supported on macOS 10.11 or later.

  1. Go to the Visual Studio Code download page.
  2. Click Mac to download the file.
  3. In the Downloads folder, double-click the VSCode file. Example: VSCode-darwin-universal.zip.
  4. After the file has been decompressed, double-click the VSCodeUserSetup file.
  5. Visual Studio Code will launch after the installation is complete.

Installing Visual Studio Code is supported on Windows 10 or later.

  1. Go to the Visual Studio Code download page.
  2. Click Windows to download the file.
  3. In the Downloads folder, double-click the VSCodeUserSetup executable file.
  4. Visual Studio Code will launch after the installation is complete.

Installing Visual Studio Code is supported on Debian systems, like Debian and Ubuntu.

  1. Go to the GitHub Desktop download page.
  2. Click .deb to download the file.
  3. In the terminal, navigate to the Downloads folder.

    Example: cd /downloads.

  4. Run sudo apt install <filename>.deb. Enter your password, if prompted.

    Example: sudo apt install code_1.82.2-1694671812_amd64.deb.

Installing Visual Studio Code is supported on Red Hat, CentOS, and Fedora distributions.

  1. Run the following script to install the key and repository.

    sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
    sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
    
  2. Run the following to update and install the package.

    dnf check-update
    sudo dnf install code
    

    Or you can use yum on older systems.

    yum check-update
    sudo yum install code