Last updated Nov 11, 2020

Install Forge on Linux

In this short guide you'll install and configure the software required to work with the Forge platform on a Linux platform.

Set up Docker

Forge requires Docker version 17.03 or later. To download Docker, visit get Docker.

Once Docker is installed and running, check your Docker version by running the following in the terminal:

docker --version

Which outputs your Docker version, for example: Docker version 19.03.13, build 4484c46d9d.

Root privilieges

Forge documentation doesn't include the sudo command when calling Docker. You should read Manage Docker as a non-root user for more important security considerations and steps to configure your system.

Set up Node.js

Forge developers on Linux should use the OS package manager and Node Version Manager (nvm) to configure the environment.

The Forge CLI requires a fully supported LTS release of Node.js installed; namely, versions 18.x or 20.x.

  1. Install Node.js via package manager. See the Node.js package manager documentation for a list of supported platforms.

  2. Install nvm.

  3. Select the latest Node.js LTS release by running the following in the terminal:

    nvm install --lts
    nvm use --lts
  4. Check your Node.js version, run the following in the terminal:

    node --version

Which outputs your node version.

Next steps

You're ready to continue the Forge getting started guide, next you'll install the Forge CLI.

Rate this page: