Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.34 KB

File metadata and controls

39 lines (29 loc) · 1.34 KB

npm Package Installation Requirements

This article shows you how to install the npm package required when installing code-server onto a machine with architecture for which we don't offer a designated release. The npm package builds the native modules used by VS Code.

Before proceeding, please make sure that you have Node.js version 12.x (or later) installed.

Debian, Ubuntu

To install the npm package on a machine running Debian or Ubuntu:

sudo apt-get install -y \
  build-essential \
  pkg-config \
  libx11-dev \
  libxkbfile-dev \
  libsecret-1-dev \
  python3
npm config set python python3

CentOS, Fedora, RHEL

To install the npm package on a machine running CentOS, Fedora, or RHEL:

sudo yum groupinstall -y 'Development Tools'
sudo yum config-manager --set-enabled PowerTools # unnecessary on CentOS 7
sudo yum install -y python2 libsecret-devel libX11-devel libxkbfile-devel
npm config set python python2