Quickly install VS Code on macOS Sonoma/Ventura

The quickest way to download VS Code on macOS is by making use the brew cask command on the Terminal.

brew install --cask visual-studio-code
Logs:
==> Downloading 
https://formulae.brew.sh/api/cask.jws.json
##################### 100.0%
==> Downloading 
https://update.code.visualstudio.com/1.82.1/darwin-arm64/stable
==> Downloading from 
https://az764295.vo.msecnd.net/stable/6509174151d557a81c9d0b5f8a5a1e9274db5585/VSCode-darwin-arm64.zip
##################### 100.0%
==> Installing Cask visual-studio-code
==> Moving App 'Visual Studio Code.app' to '/Applications/Visual Studio Code.app'
==> Linking Binary 'code' to '/opt/homebrew/bin/code'

🍺  visual-studio-code was successfully installed!

The command will automatically installed the latest and correct version Intel/Arm based M1/M2 used setup.

Installing Visual Studio Code - VS Code on Mac

As you installed VS Code using brew package manager, you can open it using terminal by simply typing code on the prompt.

VS Code as installed using brew on Mac

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!