Skip to content

zenetio/Install-VScode-On-TX2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Install VScode on Nvidia TX2

VScode is a nice IDE for developers. It is widely used and has many features. Even so, I struggled trying to install it, using many different solutions found in the internet.

Finally, after many searches and tries, I had success to build and install VScode in my NVidia TX2 and decided to document and share my experience. Fell free to share this document.

install image

Here are the steps I used.

1. You need install some packages

~$ sudo apt install git libx11-dev libxkbfile-dev libsecret-1-dev fakeroot rpm libnss3 apt-transport-https

2. Install nodejs 10.19

~$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
~$ sudo apt install -y nodejs

# Check if nodejs installation is ok using the command
~$ nodejs -v

3. Maybe you need some additional addons: gcc, g++, make

~$ sudo apt install gcc g++ make

4. Install Yarn package manager

~$ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
~$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
~$ sudo apt update
~$ sudo apt install yarn

# check if yarn installation is ok using the command
~$ yarn --version

5. Now clone the Microsoft VS code repository

~$ git clone https://github.com/microsoft/vscode
~$ cd vscode

6. Install dependencies using yarn tool

~$ yarn

7. Now build vscode

~$ yarn run watch

# after build you will get something like this

install image

8. Launch VScode and voila!

~$ ./scripts/code.sh

install image

You will find some interesting comments in Nvidia forum

Enjoy!