Visual Studio Code (VS Code) is a free code editor we will use to write and view code throughout the workshop.
Estimated time: 5–10 minutes
Mac
Step 1: Download VS Code
- Go to code.visualstudio.com/download
- Click the Mac download option
- A
.dmgfile will appear in your Downloads folder when it’s finished
Step 2: Install VS Code
- Open your Downloads folder and double-click the
.dmgfile - A window will open — drag the Visual Studio Code icon into the Applications folder
- Once copied, close the window
Step 3: Open VS Code
- Open Finder, click Applications, and double-click Visual Studio Code
- If you see a warning saying “Visual Studio Code can’t be opened because it is from an unidentified developer”:
- Click Done to dismiss the warning
- Open System Settings → Privacy & Security
- Scroll down and click Open Anyway next to the VS Code message
- Enter your Mac password if prompted
Step 4: Add VS Code to your PATH (recommended)
This lets you open VS Code from the Terminal, which we’ll use during the workshop.
- Open VS Code
- Press Command + Shift + P to open the Command Palette
- Type
shell commandand click Shell Command: Install ‘code’ command in PATH - You may be asked to enter your Mac password — this is normal
Windows
Step 1: Download VS Code
- Go to code.visualstudio.com/download
- Click the Windows button — this downloads the User Installer, which is recommended for most users as it does not require administrator access
- The
.exefile will appear in your Downloads folder when it’s finished
Step 2: Run the installer
- Open your Downloads folder and double-click the
.exefile - Accept the license agreement and click Next
- On the Select Additional Tasks screen, make sure Add to PATH is checked — this lets you open VS Code from the command line
- Click Next, then Install
- When complete, click Finish — VS Code will open automatically
Step 3: Verify the installation
- Open Command Prompt (press Start and search for it)
- Type the following and press Enter:
code --version - You should see a version number printed — this confirms VS Code is installed and available from the command line