Skip to content

Instantly share code, notes, and snippets.

@dkdndes
Last active April 9, 2020 12:07
Show Gist options
  • Save dkdndes/f3b5d753a31518e1489837b1dfb3dbca to your computer and use it in GitHub Desktop.
Save dkdndes/f3b5d753a31518e1489837b1dfb3dbca to your computer and use it in GitHub Desktop.

What is Visual Studio Code?

“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.

Quick Commands

With $ brew the following is required to install Visual Studio Code on MacOS:

$ brew cask install visual-studio-code

Brew Commands

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment