Visual Studio Code Raspberry Pi Remote



I want to run Visual Studio Code Remote Development using SSH to my Raspberry Pi 3 Model B+ running Raspbian GNU/Linux 9 (stretch). I have tried to follow the 'Getting started' instructions.I run the command Remote-SSH: Connect to Host., but I get the message Can't connect to admin@pihole.local: unreachable or not Linux x8664 (Linux armv7l ). As far as I know, Raspbian is 32 bit.

You can run Visual Studio Code on Raspberry Pi devices.

  1. Jim Bennett from Microsoft, who showed you all how to get Visual Studio Code up and running on Raspberry Pi last week, is back to explain how to use VS Code for remote development on a headless Raspberry Pi. Like a lot of Raspberry Pi users, I like to run my Raspberry Pi as a ‘headless’ device to control various electronics – such as a busy light to let my family know I’m in meetings.
  2. Remote Development using SSH. The Visual Studio Code Remote - SSH extension allows you to open a remote folder on any remote machine, virtual machine, or container with a running SSH server and take full advantage of VS Code's feature set. Once connected to a server, you can interact with files and folders anywhere on the remote filesystem. No source code needs to be on your local machine to.

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

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

Visual studio code raspberry pi remote download

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

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
Control

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

Visual Studio Code Raspberry Pi Remote Control

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

Visual Studio Code Raspberry Pi Remote Start

  • 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.