Visual Studio Code for Mac
The most used code editor in the world.
- Price
- Free
- Category
- Code
- Install
- Homebrew cask
- Website
- code.visualstudio.com
Add Visual Studio Code to a Mac Dock on hellomacPick more apps, then copy one command that installs them all.
How to install Visual Studio Code on Mac
With Homebrew: brew install --cask visual-studio-code.
Mac with Homebrew
brew install --cask visual-studio-codeNew Mac, no Homebrew yet
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && brew install --cask visual-studio-codeHomebrew's recipe for it, with the download address: formulae.brew.sh/cask/visual-studio-code. Open Terminal with ⌘ Space, type Terminal, press Return.
Alternatives to Visual Studio Code
Best developer tools for Mac (2026)
Compare
Questions
Is Visual Studio Code free?
Visual Studio Code is free.
How do I install Visual Studio Code on a Mac?
Open Terminal and run brew install --cask visual-studio-code. If the Mac doesn't have Homebrew yet, install it first from brew.sh, or use hellomac, which gives one command that installs Homebrew and Visual Studio Code together.
What are alternatives to Visual Studio Code?
Cursor, Zed, Ghostty, iTerm2 and others, also in the Code list on hellomac.