Skip to main content

How to Download and setup vs code ?

Table of Contents


Download and Install

  1. Download Visual Studio Code:

  2. Install Visual Studio Code:

    • Windows: Run the downloaded .exe file and follow the setup wizard.
    • macOS: Open the downloaded .zip file and drag the Visual Studio Code app to the Applications folder.
    • Linux:
      • For Debian/Ubuntu:
        sudo apt update
        sudo apt install software-properties-common apt-transport-https wget
        wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
        sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
        sudo apt update
        sudo apt install code

Add to PATH (Optional)

  • Windows: During installation, you can select the option to add Visual Studio Code to your system's PATH.
  • macOS:
    • Open Visual Studio Code.
    • Press Cmd+Shift+P to open the Command Palette.
    • Type shell command and select Install 'code' command in PATH.
  • Linux: If not added automatically, you can add Visual Studio Code to the PATH using your shell's configuration file.

Launch Visual Studio Code

  • Windows/macOS/Linux: After installation, you can launch Visual Studio Code:
    • From the Start menu (Windows), Applications folder (macOS), or application menu (Linux).
    • Or, open the terminal and type:
      code

Additional Resources

Thanks for Visiting!😊