How to Install Visual Studio Code on Mac

This article explains how to install Visual Studio Code (VS Code) on macOS in a clear, user-friendly way. All steps are fact-checked with official documentation and trusted sources.

1. Download Visual Studio Code

  1. Go to the official Visual Studio Code website.
  2. Click "Download for macOS". Choose the correct version for your Mac (Intel, Apple Silicon, or Universal).

2. Open the Installer

  1. Find the downloaded .zip or .dmg file in your Downloads folder.
  2. Double-click it to extract or mount the installer.

3. Install Visual Studio Code

  1. Drag the Visual Studio Code.app into your Applications folder.

4. Launch VS Code

  1. Open the Applications folder and double-click Visual Studio Code.
  2. If macOS asks for permission, click Open.

5. Add to Dock (Optional)

  1. Right-click the Visual Studio Code icon in the Dock.
  2. Select Options → Keep in Dock.

6. Enable code Command in Terminal (Optional)

  1. Open VS Code and press ⌘ + Shift + P to open the Command Palette.
  2. Type "Shell Command: Install 'code' command in PATH" and hit Enter.
  3. Restart Terminal. You can now use code . to open the current folder in VS Code.

7. Install via Homebrew (Alternative)

brew install --cask visual-studio-code

8. First Launch and Welcome Screen

Upon launching, you’ll see a Welcome screen with tips, recent projects, and links to install extensions.


With these steps, you’ll be fully set up to code on your Mac using Visual Studio Code. Happy coding!

Note: Mac is a trademark of Apple Inc., registered in the U.S. and other countries.

Sources

Comments

Popular posts from this blog

How to Set Up a New NotebookLM in NotebookLM

How to Automatically Identify Speakers in Audio Using NotebookLM

How to Generate a Slide Deck with Diagrams, Charts, and Formulas with Gemini 2.5 Flash