VS Code Raspberry PI #2379
Replies: 5 comments 1 reply
-
Since VS Code does not officially support Raspberry PI - we need your help to comment on this issue and tell us on what Raspberry PI platforms VS Code does work. And share your experiences. Thank you |
Beta Was this translation helpful? Give feedback.
-
so tbh don't try running vscode or vscode server on a raspberry pi with 1gb ram. i am using the RPI 3B+ with 1gb ram and anything can be considered a headache on this low of ram. Sometimes it crashes or freezes up. A hard reset is the only option regarding this freezing but if you are patient enough you can use the vscode server, which works fine if you dont install too many addons. |
Beta Was this translation helpful? Give feedback.
-
I'll wait till you guys have tested it on Pi5 and say its supported. Any idea when that might be |
Beta Was this translation helpful? Give feedback.
-
Hi! The Raspberry Pi 2W is amazing and works wonderful with VS Code. You can read This article from the official Raspberry News page for more info. You can view this pull request for more info. |
Beta Was this translation helpful? Give feedback.
-
As you might expect, works well with the Pi 4b 8GB ram, I am running Legacy OS 64 bit ;). |
Beta Was this translation helpful? Give feedback.
-
Visual Studio Code on Raspberry Pi
Even though it is not officialy supported 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.
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
VS Code is supported on these Raspberry Pi models running a 32-bit or 64-bit version of Raspberry Pi OS:
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.
Workaround for poor performance
VS Code on Raspberry Pi 4 may be slow with the default setup. A workaround is to disable hardware (GPU) acceleration in VS Code:
argv.json
file using the Preferences: Configure Runtime Arguments command."disable-hardware-acceleration": true
.The
"disable-hardware-acceleration": true
runtime argument switch has the effect of passing the--disable-gpu
command-line argument on VS Code startup.Beta Was this translation helpful? Give feedback.
All reactions