install vscode on rpi 4 ubuntu server 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
sudo dpkg --add-architecture armhf && sudo apt-get update && sudo apt-get install code-oss:armhf
sudo apt-get update
Example 2: install visual studio code raspberry pi
curl -L https://raw.githubusercontent.com/headmelted/codebuilds/master/docs/installers/apt.sh | sudo bash