Skip to content

install VS Code

richard morris edited this page Jun 25, 2024 · 4 revisions

Install VS Code

VS Code is a free, open source, cross platform code editor that is available for MacOS, Windows, and Linux.

We will be using VS Code to deploy and manage our isolated environment, as well as to write code that will interact with Cogent3

Installing VS Code on macOS

System Requirements:

  • macOS 10.10 or newer.

Installing Visual Studio Code on macOS:

  1. Download Visual Studio Code for Mac: Navigate to VS Code for Mac and click on "Download for Mac".

  2. Install Visual Studio Code:

    • Open the downloaded .zip file.
    • Drag and drop the Visual Studio Code.app into the Applications folder.
  3. Open Visual Studio Code:

    • Navigate to your Applications folder and open Visual Studio Code.
    • Optionally, drag the app icon to your dock for easier access in the future.

Download Screencast

Installing VS Code on Mac

Installing VS Code on Windows

System Requirements:

  • Windows: Windows 7 (with .NET Framework 4.5.2), 8/8.1, or 10.

Installing Visual Studio Code:

  1. Download VS Code: Visit the VS Code download page.

  2. Install VS Code: Follow the on-screen instructions in the installer.

Installing VS Code on Linux

System Requirements:

  • Most modern Linux distributions are supported.

Installing Visual Studio Code on Linux:

  1. Update your package manager: sudo apt update

  2. Install required packages: sudo apt install software-properties-common apt-transport-https wget

  3. Import Microsoft's GPG key: wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -

  4. Enable the Visual Studio Code repository: sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"

  5. Install Visual Studio Code:

    sudo apt update
    sudo apt install code

Note The above instructions are tailored for Ubuntu-based distributions. If you're using a different Linux distribution, you might need to adjust package manager commands accordingly (e.g., yum for CentOS or dnf for Fedora).

Download Screencast

Installing VS Code on Linux

Once VS Code is installed you are ready to download the workshop environment