Step 1: Download Visual Studio Code Installer
Visit the Visual Studio Code website on your internet browser, such as Firefox or Safari, and click
Download for Mac. Then click
Save File in the dialogue box that asks if you would like to save the file
Step 2: Run Visual Studio Code Installer
After the download has completed, double click on the file called
VSCode-darwin-stable.zip in your Downloads folder.
Step 3: Move Visual Studio Code to Applications Folder
Drag the Visual Studio Code application (it will have a blue logo next to it) from your Downloads folder to Applications folder.
Step 4: Start Visual Studio Code application
Double click the Visual Studio Code application in your Applications folder. The first time you open Visual Studio Code, you should receive a dialogue box that asks you if you are sure you would like to open it. Here you should click
Step 5: Configure Visual Studio Code I
Navigate to the
View option in the topmost menu and click
Command Palette. This will make a text bar appear.
Step 6: Configure Visual Studio Code II
Type “shell” into the text bar that appears. Then choose
Shell Command: Install code command in PATH. Click
OK on the dialogue box that appears saying “Code will now prompt with ‘osascript’ for Administrator privileges to install the shell command.” You may also be asked to provide the password to your computer at this stage.