Install Visual Studio VS Code on Mac using Brew


Homebrew (popularly known as the brew) is the most popular package manager for macOS.

If you are looking for ways to quickly install Microsoft Visual Studio Code (also known as vscode or vs code) you can make use of the --cask option to get it installed.


Install Visual Studio Code using Brew

Syntax:
% brew install --cask visual-studio-code

Installation Logs:
==> Downloading https://update.code.visualstudio.com/1.72.2/darwin-arm64/stable
==> Downloading from https://az764295.vo.msecnd.net/stable/d045a5eda657f4d7b676dedbfa7aab8207f8a075/VSCode
######################################################################## 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!

Once downloaded, you can run VS Code from the Applications folder, make use of the Spotlight Search, or simply use the Terminal with the open command as below.

% /Applications/Visual\ Studio\ Code.app
Install VS Code on Mac using Brew
-


Have Questions? Post them here!

Topics Coverage:


🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.

Follow Us: GitHub | Facebook | Twitter | Instagram