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


  • To build RPMs, you need rpmbuild:

    sudo apt install rpm

Did you find what you were looking for?

Thank you! We appreciate your feedback.

Tell us more

Your feedback helps us improve the Mattermost developer documentation.

Have a feature request? Share it here.

Having issues? Join our Community server.