Note: You can now officially download vscode from Microsoft here for Raspberry Pi ARM (32 bit) or ARM64 (64 bit). This repository is for archive/historical purposes only.
above: A nice Python program to calculate pi, written using code-oss on Rasberry Pi 4. Available here
This repository installs visual studio code (code-oss) on your Raspberry Pi 3B+ or Raspberry Pi 4 easily.
Raspberry Pi 4 with at least 4GB RAM is recommended!!!
I was tired of doing hours of research and trying out commands to get Visual Studio Code, and have it not work.
So, I made this repository which makes everything easier for you!
All the following commands are for Ubuntu/Debian
- An updated system
sudo apt-get update && sudo apt-get upgrade -y
- Git:
sudo apt-get install git
All you have to do to install code-oss is to:
- Open your terminal by pressing
Ctrl
+Alt
+T
on your keyboard. - Clone this repository:
git clone https://github.com/perspector/VSCode-Raspberry-Pi.git
- Open the file directory:
cd VSCode*
- Run the script:
sudo sh install.sh
Note: You may be promted to enter your password for the script to work. - Reboot
sudo reboot now
- To run VSCode, just type
code-oss
in your terminal or find "Code-OSS" in your application menu.