Skip to content

Instantly share code, notes, and snippets.

@ted-piotrowski
Last active August 31, 2022 14:27
Show Gist options
  • Save ted-piotrowski/e5c223a6a2f6f3079cb38c959ceecaa6 to your computer and use it in GitHub Desktop.
Save ted-piotrowski/e5c223a6a2f6f3079cb38c959ceecaa6 to your computer and use it in GitHub Desktop.
Visual Studio Code on ARM Debian Linux
# building Visual Studio Code Debian package on ARM
# get source code
git clone [email protected]:Microsoft/vscode.git
cd vscode
# build debian package
./scripts/npm.sh install --arch=armhf
./node_modules/.bin/gulp vscode-linux-arm-build-deb
# locate built package, install and run
find . -name *.deb #this will give location of built package
sudo dpkg install [location-from-previous-step]
code-oss # to run the installed program
@AndyHolo
Copy link

AndyHolo commented Nov 9, 2017

i got this npm error :Failed to find Electron v1.7.0 for linux-armhf at https://github.com/electron/electron/releases/download/v1.7.0/chromedriver-v1.7.0-linux-armhf.zip

I looked at github.com/electron/electron/releases/ and there is no package for armhf at all. So how could you finish compiling the VScode?? thx

@Bazmundi
Copy link

Bazmundi commented Oct 7, 2018

When running "./scripts/npm.sh install --arch=armhf" I get "no command yarn"

When I try running yarn from shell I get recommendation to run "apt install cmdtest".

I install cmdtext and when I run "./scripts/npm.sh install --arch=armhf" I now get "yarn does not recognise --arch"

I am running ARMBIAN 5.59 stable Ubuntu 18.04.1 LTS 4.14.65-sunxi on orange pi zero.

@hartraft
Copy link

@fifn2
Copy link

fifn2 commented May 31, 2019

Is this the same as vscode? Will it get updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment