Skip to main content

Visual Studio Code Setup

Introduction

Visual Studio Code is a lightweight but strong source code editor that runs on your desktop. Additionally, it provides built-in support for JavaScript.

This guide walks you through installing Visual Studio Code

Prerequisites

In order to begin this guide, you must have completed the following:

  • [Getting Started with GitHub]
  • [Vercel Setup]

What You’ll Do

  • Install Visual Studio Code
  • Add extensions

TUTORIAL

Install Visual Studio Code

/video

Download Visual Studio Code - Mac, Linux, Windows

You should see this screen. Click directly on the blue download arrows depending on your system type proceed to the next step.

img

Windows

In the bottom left side of your screen, you should see the VSCodeUserSetup install. Upon completion, click on it.

img

Next, select the ‘I accept the agreement’ option, and click on ‘Next >’.

img

Click ‘Next >’.

img

Click ‘Next >’.

img

If you prefer to have a Visual Studio Code desktop icon, check the box next to ‘Create a desktop icon’. Otherwise, verify that ‘Add to PATH (requires shell restart)’ is checked, and then click ‘Next >’.

img

Click ‘Install’.

img

Verify that ‘Launch Visual Studio Code’ is checked, and then select ‘Finish’.

img


Mac OS X

Navigate to VS Code official download website

Untitled

Untitled

Open the associated zip file in the downloads bar of your browser

download

Drag Visual Studio Code.app to the Applications folder, making it available in the macOS Launchpad.

Untitled

Optional: Add VS Code to your Dock by right-clicking on the icon and choosing OptionsKeep in Dock.

After installing the VS Code, we can also configure the code to open from a command line, and it is pretty easy for us to do that.

  1. Launch Visual Studio Code.
  2. Open the Command Palette (⇧⌘P) and type ‘shell command‘ to find the Shell Command: Install the ‘code’ command in the PATH command.

Untitled

Restart the terminal for the new $PATH value to take effect. You'll be able to type 'code .' in any folder to start editing files in that folder.

code .

Extensions to Consider Adding to VS Code


Further Resources

Getting started with Visual Studio Code | Visual Studio Code