“Visual Studio Code is a lightweight source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (such as C++, C#, Java, Python, PHP, Go) and runtimes (such as .NET and Unity).” ~ Visual Studio Code
What is Homebrew?
Homebrew is a free and open-source software package management system for the Apple’s macOS operating system. It is known as „the missing package manager for macOS“; like „apt“ or „apt-get“ on Linux OS.
With $ brew the following is required to install Visual Studio Code on MacOS:
$ brew cask install visual-studio-code
This section provides a quick set of commands on how to install Visual Studio Code on macOS using Homebrew. It is assumed that Homebrew is already installed. If not, please follow this link.
$ brew update # Update homebrew information
$ brew upgrade # Upgrade homebrew installed application on Apple Computer
$ brew tap caskroom/cask # Tap, meaning download the content of Caskroom/Cask from Github
$ brew search visual-studio-code # Searches for apps in all known Casks
$ brew cask info visual-studio-code # Displays information about a given Cask
$ brew cask install visual-studio-code # Install a given cask.
$ brew cleanup # Remove any older versions from the cellar.