
# I had to do this because the electron download often fails. This speeds up the build and avoids an unnecessary electron download. # Reduce the maximum RAM available to nodejs when building vscode.

NB: According to the documentation, NodeJS should be gulpUtil.noop(),init:()=>gulpUtil.noop()} |' build/lib/optimize.js # because some makefiles default to CC:=gcc:įirst, install the required system packages: sudo apt install -y libsecret-1-dev git python2.7 clang make libx11-dev libxkbfile-dev fakeroot rpm zshrc for ZSH etc): # Use the default C / C++ compilers,

We'll build everything with clang (installed below), so make sure you have this in your. This is based on the build instructions at vscode/wiki/How-to-contribute plus changes from vscode#52119, and my own changes to make the package buildable on bob and other 4 GiB RAM devices. You shouldn't trust random binaries from the internet though and the guide below is easy to follow and takes about an hour (of waiting mostly). If you don't want to build it yourself, you can download the deb that I built following this guide. You can use headmelted's pre-built packages here. You can install a pre-built package or built vscode yourself for the default Crostini Linux (Debian 9) ahead of the official support. These instructions apply to arm64 devices, such as "bob" (Asus C101PA) and "kevin" (Chromebook Plus). These instructions were originally posted by in and are maintained here. You should now find a Visual Studio Code labeled icon in the app drawer. Install Guide for Visual Studio Code x86_64 curl -L "" > b
