megaphone icon We're improving your developer experience.
Edit on GitHub

  1. Open Terminal

  2. Install NodeJS from NodeSource:

    curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
    sudo apt-get install -y nodejs
    
    • You might need to install curl as well:

      sudo apt install curl
      
  3. Install other dependencies:

    Linux requires the X11 developement libraries and libpng to build native Node modules.

    sudo apt install git python3 g++ libx11-dev libxtst-dev libpng-dev
    

Notes 

  • To build RPMs, you need rpmbuild:

    sudo apt install rpm