Visual Studio Code For Raspberry Pi



  1. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.
  2. The great news is VS Code is now available as part of the Raspberry Pi OS apt packages. Launch the Raspberry Pi Terminal and run the following commands: sudo apt update sudo apt install code -y. This will download and install VS Code.
  3. VS Code is now available for both Linux ARMv7 and ARM64 architectures. This means you can now officially use VS Code on a Raspberry Pi, Chromebook, and other ARM-based devices! On these devices, you can also leverage the VS Code extensions for Remote Development to get access to more powerful development environments when you need them.

When you click “Remote GDB Debugger” Visual Studio performs the compilation and execution processes. Visual Studio creates the following files on the remote device (in this case, my Raspberry Pi). Project = Blink, code = main.c.

You can run Visual Studio Code on Raspberry Pi devices.

By downloading and using Visual Studio Code, you agree to the license terms and privacy statement.

Visual Studio Raspberry Pi Linux

Installation

Visual Studio Code is officially distributed via the Raspberry Pi OS (previously called Raspbian) APT repository, in both 32-bit and 64-bit variants.

You can install it by running:

Running VS Code

After installing the VS Code package, you can run VS Code by typing code in a terminal or launching it via the Programming menu.

Updates

Your Raspberry Pi should handle updating VS Code in the same way as other packages on the system:

You can always check when a new release is available in our Updates page.

System requirements

For

VS Code is supported on these Raspberry Pi models running a 32-bit or 64-bit version of Raspberry Pi OS:

  • Raspberry Pi 3 Model B/B+
  • Raspberry Pi 4 Model B
  • Raspberry Pi 400

Visual Studio Code Raspberry Pi Docker

While 1 GB of memory (RAM) meets the minimum system requirements, users will benefit from installing VS Code on a Raspberry Pi 4 with more memory.

First-generation Raspberry Pi modules and Raspberry Pi Zero are not supported as they only include an ARMv6 CPU.

Next steps

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

Install Visual Studio Code Raspberry Pi

  • Additional Components - Learn how to install Git, Node.js, TypeScript, and tools like Yeoman.
  • User Interface - A quick orientation to VS Code.
  • User/Workspace Settings - Learn how to configure VS Code to your preferences through settings.