How to Install PM2

Home > Guides

Please note that Node.js and NPM come pre-installed on the BeagleBone Black.

Steps:

    1. Install Node.js if not already installed.

    2. Install NPM if not already installed.

    3. Install PM2 using NPM:

      sudo npm install pm2 -g

    4. Tip for using PM2:

      In order to retain the PM2 configuration through a reboot, run the following:

        sudo pm2 save

References: