Note: This tutorial is intended for Linux Users

  1. Install node.js on Linux

    The Linux operating system has hundreds of different distributions because of the diversity it provides. And users love to customize and harness different versions’ specific functionalities using distinct distributions.

    This guide assumes that you are using Ubuntu 20.04. Before you begin, you should have a non-root user account with sudoprivileges set up on your system. You can learn how to do this by following the Ubuntu 20.04 initial server setup tutorial

    Step 1:  Open your terminal or press Ctrl + Alt + T.

    Untitled

    Step 2:  To install node.js use the following command:

    sudo apt install nodejs

    Untitled

    Step 3:  Once installed, verify it by checking the installed version using the following command:

    node -v or node –version

    Untitled

Note:

It is recommended to install Node Package Manager(NPM) with Node.js. NPM is an open source library of Node.js packages.

To install NPM, use the following commands:

sudo apt install npm

npm -v or npm –version

  1. Install Joystream CLI
npm install -g @joystream/cli

Untitled

When it finishes, terminal shows 0 vulnerabilities like in picture above

  1. Verify Installation of CLI