Online Tips n Tricks
Raspberry Pi - Visual Studio Code - Printable Version

+- Online Tips n Tricks (https://a-zgsm.com/tipsntricks)
+-- Forum: Home Automation (https://a-zgsm.com/tipsntricks/forum-17.html)
+--- Forum: IOT (https://a-zgsm.com/tipsntricks/forum-24.html)
+--- Thread: Raspberry Pi - Visual Studio Code (/thread-3738.html)



Raspberry Pi - Visual Studio Code - nnm - 25-08-2021

You can run Visual Studio Code on Raspberry Pi devices.


[Image: RPi-Logo-Landscape-Reg-SCREEN.png]

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
  • 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.
[Image: vscode-under-programming.jpg]

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:


Quote:sudo apt update
sudo apt install code


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.

Visual Studio Code under the Programming menu on Raspberry Pi

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


Quote:sudo apt update
sudo apt upgrade code

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

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