install vs code on raspberry pi 4 code example

Example 1: raspberry pi install vscode via command line

sudo wget -qO - https://packagecloud.io/headmelted/codebuilds/gpgkey | sudo apt-key add -;
sudo nano /etc/apt/sources.list
#Add the following to the file: deb https://packagecloud.io/headmelted/codebuilds/raspbian/ jessie main
sudo dpkg --add-architecture armhf && sudo apt-get update && sudo apt-get install code-oss:armhf
sudo apt-get update

Example 2: how to get visual studio code on a raspberry pi 4

curl -L https://raw.githubusercontent.com/headmelted/codebuilds/master/docs/installers/apt.sh | sudo bash

Tags:

Misc Example