Try   HackMD

Install vscode on Jetson

tags: Edge AI vscode Nvidia Jetson System Setup

安裝

記得要用arm64版本

$ git clone https://github.com/JetsonHacksNano/installVSCode.git
$ cd installVSCode
$ ./installVSCode.sh
$ 

如果要有python延伸套件支援的話

./installVSCodeWithPython.sh

installVSCodeWithPython.sh裡面的內容

# latest gets the latest stable version
VERSION=latest
wget -N -O vscode-linux-deb.arm64.deb https://update.code.visualstudio.com/$VERSION/linux-deb-arm64/stable
sudo apt install ./vscode-linux-deb.arm64.deb

# Install useful Python packages
sudo apt-get install python3-pip -y
# Install a Python linter
pip3 install pylint
# Install a Python formatter
pip3 install black

# Install the Python extension for Visual Studio Code
# Extension name is ms-python.python
code --install-extension ms-python.python --force

啟用

code

Jetpack 5.x會有無法啟動的問題

安裝後執行以下程式碼即可啟用(參考來源)

code --no-sandbox

debug工具設定