Saturday, May 4, 2019

Building Visual Studio Code on Jetson Nano

Here are the steps for building Visual Studio Code on Nvidia Jetson Nano.

Install nodejs

Visual Studio Code needs node version between 8 to 10. To install node 10 and yarn:

curl -sL | sudo -E bash -

sudo apt-get install -y nodejs

curl -sL | sudo apt-key add -

echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

sudo apt-get update && sudo apt-get install yarn

Install libraries 

We also need some libraries:

sudo apt-get install libx11-dev libxkbfile-dev libsecret-1-dev 

Clone and build Visual Studio Code

In a working directory, clone the source code and build.

git clone

cd vscode

scripts/ install

Edit 2019-06-15: To enable extensions, edit the product.json file and add the following:

"extensionsGallery": {
  "serviceUrl": "",
  "cacheUrl": "",
  "itemUrl": ""

To run Visual Studio Code:



Stephen Sands said...

This is the clearest explanation. I have spent nearly a week going through various posts and videos all with no luck. Thank you Clarence!

Clarence said...

@Stephen Glad that it helped. Happy hacking~!

Unknown said...
This comment has been removed by the author.
PD156 said...

Thank you clarence.... VSCode installed successfully.
But when I try to add extensions it shows :No extension gallery service configured.

can anyone help me with this...!!!

Stephen Sands said...

I am working on the same issue. Will look today.

Clarence said...

Don't have the machine with me now. But most likely the master branch has extensions manager disabled. Try this: