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

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap