代码改变世界

Install VS Code in Raspberry pi OS 3

2020-10-12 22:57  蜡笔小旧  阅读(196)  评论(0编辑  收藏  举报

(1) Visit Link:https://code.visualstudio.com/docs/?dv=linuxarmhf and download file of `code-stable-armhf-1602050707.tar.gz`.

(2) tar -xf code-stable-armhf-1602050707.tar.gz

(3) sudo nano /usr/share/applications/VSCode.desktop

[Desktop Entry]
Type=Application
Name=VS Code   
Comment=Visual Studio Code             
Icon=/home/pi/VSCode-linux-armhf/resources/app/resources/linux/code.png
Exec=/home/pi/VSCode-linux-armhf/bin/code
Terminal=false
Categories=Development

(4)  lxpanelctl restart

 

Ref: http://cagewebdev.com/raspberry-pi-adding-start-menu-items/