Visual Studio Code was added to the Raspberry Pi OS APT repository, in both 32-bit and 64-bit variants. Now you can install code with apt command:
$ sudo apt update
$ sudo apt install code
Visual Studio Code was added to the Raspberry Pi OS APT repository, in both 32-bit and 64-bit variants. Now you can install code with apt command:
$ sudo apt update
$ sudo apt install code
With Visual Studio Code/PlatformIO IDE installed on Ubuntu for Raspberry Pi, this video show steps to program Arduino Uno using Visual Studio Code + PlatformIO IDE on 64 bit Ubuntu Desktop for Raspberry Pi, tested on Raspberry Pi 4B/4G).
To install 64 bit Visual Studio Code on Ubuntu Desktop for Raspberry Pi, visit https://code.visualstudio.com/, download Linux .deb of ARM 64 build.
Open Terminal, run the command:
$ sudo apt install ./<file>.deb
After Visual Studio Code installed, you can search and run it in Activities, or enter "code" in Terminal.
Install Extension of PlatformIO IDE to Visual Studio Code:
Click Extension tab, search and install PlatformIO IDE.
Related:
~ Install official Visual Studio Code (ver 1.5) and PlatformIO IDE on Raspberry Pi OS (32 bit), basically the same steps, but 32 bit for current Raspberry Pi OS.
Next:
~ Program Arduino using VSCode/PlatformIO/Ubuntu for Raspberry Pi
With Visual Studio Code now support Raspberry Pi officially, just tried to install on Raspberry Pi 4B/4GB. As straightforward as stated in Visual Studio Code doc.
Install official Visual Studio Code (ver 1.5) and PlatformIO IDE on Raspberry Pi OS (32 bit):
Install VS Code:
Visit:
https://code.visualstudio.com/
Scroll down and download ".deb" of "ARM" build for 32 bit Raspberry Pi
OS.
Open Terminal, run the command:
$ sudo apt install ./<file>.deb
Where <file> is the file downloaded.
Install Extension of PlatformIO IDE to Visual Studio Code:
Click Extension tab, search and install PlatformIO IDE
Related:
~ Current Raspberry Pi OS officially 32 bit only. If you want 64
bit Visual Studio Code, you can try
Ubuntu Desktop for Raspberry Pi (64 bit), and Install Visual Studio Code/PlatformIO IDE on Ubuntu for Raspberry Pi.
Visual Studio Code is a free, open source code editor from Microsoft. With its release of version 1.50 (September 2020) it support Raspberry Pi officiaally.
reference:
- Windows Central > Microsoft Visual Studio Code now supports Raspberry Pi and ARM Chromebooks
- Visual Studio Code > September 2020 (version 1.50)
Next:
- Install official Visual Studio Code (ver 1.5) and PlatformIO IDE on Raspberry Pi OS (32 bit)