So you finally want to code on your Mac without fighting your tools. Let me tell you something straight: how to install Visual Studio Code on Mac isn’t just a beginner’s chore — it’s the first decision that separates people who actually ship projects from people who just watch tutorials. VS Code is free, runs on Intel and Apple Silicon, and takes under five minutes to set up. If it takes you longer, you’re overcomplicating it.
Why VS Code still wins on macOS in 2026
There are heavier editors and lighter ones. VS Code sits in the sweet spot: a source code editor that behaves like a full IDE when you need it, and like a simple notepad when you don’t. Microsoft keeps shipping monthly updates, and the macOS builds are now fully optimized for M1, M2, M3 and even the newer M4 chips.
I’ll defend one take here: if your goal is Python, JavaScript, Go, Rust or web development, installing Visual Studio Code on Mac is the sane default. Alternatives like Sublime Text are faster to open but weaker on extensions. JetBrains IDEs are more powerful but heavier and paid. VS Code wins on the balance.
Step 1: Download the right build for your Mac
Go straight to the official site: code.visualstudio.com. Don’t grab it from random mirrors — you’ll get outdated builds or worse. On the homepage you’ll see a big blue download button. If you’re on Apple Silicon (M-series), the site auto-detects and gives you the Apple Silicon build. If you’re on an older Intel Mac, you’ll get the Intel one. You can also click the small arrow to choose manually.
The file lands in your Downloads folder as a .dmg — something like VisualStudioCode-darwin-arm64.dmg. That extension tells you it’s a macOS disk image, which is just a virtual container holding the app.
Step 2: Install VS Code properly (the drag-and-drop trick)
Double-click the .dmg. A window opens showing the VS Code icon on the left and your Applications folder on the right. Drag the icon onto Applications. That’s it. No installer wizard, no admin password prompts, no reboot. This is how installing Visual Studio Code on Mac is supposed to feel.
Then eject the disk image (right-click it in Finder and hit Eject) and open VS Code from Launchpad, Spotlight (⌘ + Space, type «Code»), or your Applications folder.
Heads-up: the first time you launch it, macOS might warn you that it was downloaded from the internet. That’s normal for any app outside the App Store. Click Open and move on.
Step 3: First-launch setup you shouldn’t skip
VS Code opens with a Welcome tab. Close it and do these three things right away — they’ll save you hours later:
- Install the Shell Command: press ⌘ + Shift + P, type «shell command», and pick Install ‘code’ command in PATH. Now you can open any folder from Terminal by typing code . — a huge time-saver for a code editor on Mac.
- Sign in with GitHub or Microsoft: this enables Settings Sync, so your extensions, themes and keybindings follow you across machines.
- Pick a theme: ⌘ + K then ⌘ + T. Dark+ is the default and honestly still the best for long sessions.
Extensions that actually matter
The Marketplace is where VS Code becomes yours. Don’t install fifty extensions on day one — that’s how people end up with a slow editor and no idea why. Start with these:
- Python (by Microsoft) — includes Pylance, debugging, linting, Jupyter support.
- Prettier — auto-formats your code so you stop arguing about spacing.
- ESLint — catches JavaScript bugs before you run anything.
- GitLens — shows who wrote each line and when, right inside the editor.
- Live Server — refreshes your browser automatically when you save HTML/CSS.
Each extension runs in its own process, so a bad one won’t crash the whole editor. Still, if VS Code feels sluggish, open the Extensions panel and disable anything you haven’t used in a week.
Terminal, Git and running your first project
Open the integrated terminal with ⌃ + ` (Control + backtick). You’re now inside your project folder without leaving the window. Run npm install, pip install, or git init — whatever your project needs. Git is built in: click the Source Control icon on the left sidebar, stage changes, write a commit message, push. No third-party Git client required.
This is the real reason installing Visual Studio Code on Mac pays off so fast: you stop juggling five apps and keep everything — code, terminal, Git, debugging — in one place.
Apple Silicon performance and common gotchas
On M1/M2/M3/M4 Macs, VS Code runs natively (arm64), so it uses less battery and opens faster than the Intel build running under Rosetta. Check by opening About Visual Studio Code from the Code menu — if it says arm64, you’re set.
Two things that trip people up:
- Gatekeeper blocks the app: go to System Settings → Privacy & Security and click Open Anyway.
- Slow search or indexing: exclude massive folders like node_modules from search in Settings → Search: Exclude.
Is VS Code really the right choice for you?
If you’re on macOS and want one editor that handles Python, JS, web, Markdown, Docker and Git without turning your machine into a jet engine, yes. If you need deep refactoring across a massive Java or C# codebase, a JetBrains IDE will still serve you better. But for 90% of developers in 2026, this is the tool.
Stop reading tutorials and install it. Five minutes from now you could be running your first script instead of comparing editors on Reddit.