Installing VS Code
A step-by-step guide for absolute beginners
What is VS Code, and why do I need it?
VS Code (short for Visual Studio Code) is a free program for writing code. Think of it like Microsoft Word, but instead of writing essays, you write code, and it helps you by highlighting your code in colors, catching typos, and suggesting what to type next.
It's made by Microsoft, works on Windows and Mac, and is the most popular code editor in the world. The best part? It's completely free.
What operating system are you using?
Go to the official VS Code website
Click the big blue "Download for Windows" button
VSCodeSetup-x64-1.x.x.exe.Run the installer file
Click through the setup wizard
- • Accept the license agreement and click Next
- • Leave the install location as-is and click Next
- • On the "Select Additional Tasks" screen, check these two boxes:
- ✅ Add "Open with Code" action to Windows Explorer file context menu
- ✅ Add to PATH
- • Click Next, then Install, then Finish
💡 Why check those two boxes?
"Open with Code" lets you right-click any folder or file and open it directly in VS Code, super handy! "Add to PATH" lets you type code . in the terminal to open VS Code from anywhere. Both will save you a lot of time.
✅ Check that it worked
The easiest check: just look for VS Code in your apps and open it! You should see a welcome screen with a dark or light background and a sidebar on the left.
You can also verify it from the terminal. Open your terminal and run:
How to open the terminal on Windows:
Search for "cmd" in the Start menu and press Enter.
code --versionYou'll see something like 1.89.0 printed, that means VS Code is installed and ready to use!
❌ "code" not recognized in the terminal?
On Windows: restart your computer so the PATH change takes effect, then try again. On macOS: open VS Code, press ⌘ Cmd + Shift + P, type "Shell Command", and select "Install 'code' command in PATH".
Always download VS Code from the official site: code.visualstudio.com
