Setting Up Visual Studio Code

Visual Studio Code
  • Docs
  • Updates
  • Blog
  • API
  • Extensions
  • MCP
  • FAQ
  • Switch to the dark theme Switch to the light theme
  • Search Docs
  • Download

Version 1.107 is now available! Read about the new features and fixes from November.

Dismiss this update Topics Overview Overview Linux macOS Windows VS Code for the Web Raspberry Pi Network Additional Components Enterprise Uninstall VS Code Tutorial Copilot Quickstart User Interface Personalize VS Code Install Extensions Tips and Tricks Intro Videos Display Language Layout Keyboard Shortcuts Settings Settings Sync Extension Marketplace Extension Runtime Security Themes Profiles Overview Voice Interactions Command Line Interface Telemetry Basic Editing IntelliSense Code Navigation Refactoring Snippets Overview Multi-root Workspaces Workspace Trust Tasks Debugging Debug Configuration Testing Port Forwarding Overview Setup Quickstart Overview Chat Sessions Add Context Review Edits Planning Checkpoints Tools Inline Chat Prompt Examples Chat Debug View Overview Agents Tutorial Background Agents Cloud Agents Inline Suggestions Overview Instructions Prompt Files Custom Agents Skills Language Models MCP Prompt Engineering Context Engineering Edit Notebooks with AI Test with AI Debug with AI MCP Dev Guide Smart Actions Tips and Tricks Security FAQ Cheat Sheet Settings Reference Workspace Context Overview Quickstart Staging & Committing Branches & Worktrees Repositories & Remotes Merge Conflicts Collaborate on GitHub Troubleshooting FAQ Getting Started Tutorial Terminal Basics Terminal Profiles Shell Integration Appearance Advanced Overview JavaScript JSON HTML Emmet CSS, SCSS and Less TypeScript Markdown PowerShell C++ Java PHP Python Julia R Ruby Rust Go T-SQL C# .NET Polyglot Swift Working with JavaScript Node.js Tutorial Node.js Debugging Deploy Node.js Apps Browser Debugging Angular Tutorial React Tutorial Vue Tutorial Debugging Recipes Performance Profiling Extensions Tutorial Compiling Editing Refactoring Debugging Quick Start Tutorial Run Python Code Editing Linting Formatting Debugging Environments Testing Python Interactive Django Tutorial FastAPI Tutorial Flask Tutorial Create Containers Deploy Python Apps Python in the Web Settings Reference Getting Started Navigate and Edit Refactoring Formatting and Linting Project Management Build Tools Run and Debug Testing Spring Boot Modernizing Java Apps Application Servers Deploy Java Apps GUI Applications Extensions FAQ Intro Videos GCC on Linux GCC on Windows GCC on Windows Subsystem for Linux Clang on macOS Microsoft C++ on Windows Build with CMake CMake Tools on Linux CMake Quick Start Editing and Navigating Debugging Configure Debugging Refactoring Settings Reference Configure IntelliSense Configure IntelliSense for Cross-Compiling FAQ Intro Videos Get Started Navigate and Edit IntelliCode Refactoring Formatting and Linting Project Management Build Tools Package Management Run and Debug Testing FAQ Overview Node.js Python ASP.NET Core Debug Docker Compose Registries Deploy to Azure Choose a Dev Environment Customize Develop with Kubernetes Tips and Tricks Overview Jupyter Notebooks Data Science Tutorial Python Interactive Data Wrangler Quick Start Data Wrangler PyTorch Support Azure Machine Learning Manage Jupyter Kernels Jupyter Notebooks on the Web Data science in Microsoft Fabric AI Toolkit Overview AI Toolkit Copilot tools Models Playground Agent Builder Bulk Run Evaluation Fine-tuning (Automated Setup) Fine-tuning (Project Template) Model Conversion Tracing Profiling FAQ File Structure Manual Model Conversion Manual Model Conversion On GPU Setup Environment Without AI Toolkit Template Project Overview Getting Started Resources View Deployment VS Code for the Web - Azure Containers Azure Kubernetes Service Kubernetes MongoDB Remote Debugging for Node.js Overview SSH Dev Containers Windows Subsystem for Linux GitHub Codespaces VS Code Server Tunnels SSH Tutorial WSL Tutorial Tips and Tricks FAQ Overview Tutorial Attach to Container Create Dev Container Advanced Containers devcontainer.json Dev Container CLI Tips and Tricks FAQ Default Keyboard Shortcuts Default Settings Substitution Variables Tasks Schema

On this page there are 6 sections

  • Set up VS Code for your platform
  • Update cadence
  • Insiders nightly build
  • Portable mode
  • Next steps
  • Common questions
Setting up Visual Studio Code

VS Code is a free code editor, which runs on the macOS, Linux, and Windows operating systems. Getting up and running with Visual Studio Code is quick and easy. It is a small download so you can install in a matter of minutes and give VS Code a try.

VS Code is lightweight and should run on most available hardware and platform versions. You can review the System Requirements to check if your computer configuration is supported.

Set up VS Code for your platform

  1. Download and install Visual Studio Code for your platform

    • macOS
    • Linux
    • Windows
    Note

    VS Code ships monthly releases and supports auto-update when a new release is available.

  2. Install additional components

    Install Git, Node.js, TypeScript, language runtimes, and more.

  3. Install VS Code extensions from the Visual Studio Marketplace

    Customize VS Code with themes, formatters, language extensions and debuggers for your favorite languages, and more.

  4. Enable AI features

    Tip

    If you don't yet have a Copilot subscription, you can use Copilot for free by signing up for the Copilot Free plan and get a monthly limit of inline suggestions and chat interactions.

  5. Get started with the VS Code tutorial

    Discover the user interface and key features of VS Code.

Update cadence

VS Code releases a new version each month with new features and important bug fixes. Most platforms support auto updating and you are prompted to install the new release when it becomes available.

You can also manually check for updates by running Help > Check for Updates on Linux and Windows, or running Code > Check for Updates on macOS.

Note

You can disable auto-update if you prefer to update VS Code on your own schedule.

Insiders nightly build

If you'd like to try our nightly builds to see new features early or verify bug fixes, you can install our Insiders build. The Insiders build installs side-by-side with the monthly Stable build and you can freely work with either on the same machine. The Insiders build is the same one the VS Code development team uses on a daily basis and we really appreciate people trying out new features and providing feedback.

Portable mode

Visual Studio Code supports Portable mode installation. This mode enables all data created and maintained by VS Code to live near itself, so it can be moved around across environments, for example, on a USB drive. See the VS Code Portable Mode documentation for details.

Next steps

Once you have installed VS Code, these topics will help you learn more about it:

  • VS Code tutorial - A quick hands-on tour of the key features of VS Code.
  • Tips and Tricks - A collection of productivity tips for working with VS Code.
  • AI-assisted coding - Learn about using GitHub Copilot in VS Code to help you write code faster.

Common questions

What are the system requirements for VS Code?

We have a list of System Requirements.

How big is VS Code?

VS Code is a small download (< 200 MB) and has a disk footprint of less than 500 MB, so you can quickly install VS Code and try it out.

How do I create and run a new project?

VS Code doesn't include a traditional File > New Project dialog or pre-installed project templates. You'll need to add additional components and scaffolders depending on your development interests. With scaffolding tools like Yeoman and the multitude of modules available through the npm package manager, you're sure to find appropriate templates and tools to create your projects.

How do I know which version I'm running?

On Linux and Windows, choose Help > About. On macOS, use Code > About Visual Studio Code.

Why is VS Code saying my installation is unsupported?

VS Code has detected that some installation files have been modified, perhaps by an extension. Reinstalling VS Code will replace the affected files. See our FAQ topic for more details.

How can I do a 'clean' uninstall of VS Code?

If you want to remove all user data after uninstalling VS Code, you can delete the user data folders Code and .vscode. This returns you to the state before you installed VS Code. This can also be used to reset all settings if you don't want to uninstall VS Code.

The folder locations vary depending on your platform:

  • Windows - Delete %APPDATA%\Code and %USERPROFILE%\.vscode.
  • macOS - Delete $HOME/Library/Application Support/Code and ~/.vscode.
  • Linux - Delete $HOME/.config/Code and ~/.vscode.
12/10/2025 Search Search

Từ khóa » Cài đặt Visual Studio Code