← Prep

Lesson 2 of 4 ⏱ 15 minutes

Installing the VS Code editor

We'll install the program you'll write your code in. It's free, and even the pros use it.

What is VS Code, and why this one

Visual Studio Code (people call it VS Code for short) is an editor: a program for writing code. Think of it like Word, but for programmers: it colors your code, gives you hints, and points out mistakes. It’s completely free, and people at the biggest companies in the world use it to build websites. Learn it now, and it’ll stick with you for good.

⚠️

Install it with an adult around. Have a parent sit with you: the install itself is safe, but it’s good for them to know about anything going onto the computer.

Installing on Windows

  1. Open code.visualstudio.com and click the big blue Download for Windows button.

  2. Once the file downloads, click on it (you’ll find it in the taskbar at the bottom, or in your Downloads folder).

  3. Accept the license (check I accept the agreement), then just keep clicking Next. At the Select Additional Tasks step, check Create a desktop icon so you have an icon on your desktop.

  4. Click Install and wait. Finally, click Finish: VS Code will open.

Installing on Mac

  1. Open code.visualstudio.com and click Download for macOS.

  2. Once the file downloads, find it in your Downloads folder. If it’s a .zip file, double-click it to unzip it.

  3. A blue Visual Studio Code icon will appear. Drag it into your Applications folder. That’s it, it’s installed.

  4. Open the Applications folder and double-click Visual Studio Code to launch it. The first time, your Mac will ask if you really want to open it: click Open.

Getting to know VS Code

VS Code speaks a lot of languages: let’s take a quick look around and get comfortable:

  1. On the left sidebar, click the icon that looks like stacked squares (Extensions). It looks like four little blocks.

  2. In the search box at the top, type Prettier (or any theme name you like, like Dracula or Night Owl).

  3. Pick something you like and click Install next to it.

  4. A little window may pop up in the bottom right: follow whatever it suggests. VS Code will apply your choice right away.

✅

Check yourself: VS Code opens up and looks ready to use, with the menu at the top (File, Edit, Selection…). If so, you’re all set and your workshop is ready!

What to take away from this chapter