

Option 1: Update PATH in the Bash profile You can follow any of the below two options. If Visual Studio Code is already installed then you don't have to reinstall it. If Visual Studio Code is already installed

By following Microsoft Visual Studio Code documentation given here. If the above steps don't work then you can do it manually. The above command should install Visual Studio Code and also set up the command-line calling of Visual Studio Code. Now run the following command, and it will install the latest Visual Studio Code on your Mac. There is a way to install Visual Studio Code through Brew-Cask. Install Visual Studio Code through Homebrew to open the current folder in Visual Studio Code. For Mac OS X, there are three ways you can enable code.
