How To Install Pm2 On Arch?

How To Install Pm2 On Arch?

pm2

Process manager for Node.js.
Used for log management, monitoring and configuring processes.

Install pm2

  • Arch Linux pacman -S pm2 Click to copy

Process manager for Node.js. Used for log management, monitoring and configuring processes.

How to use pm2?

Below are few example commands for pm2 that you can use in the terminal.

Start a process with a name that can be used for later operations:
pm2 start app.js --name myappClick to copy
List processes:
pm2 listClick to copy
Monitor all processes:
pm2 monitClick to copy
Stop a process:
pm2 stop myappClick to copy
Restart a process:
pm2 restart myappClick to copy
Installation of latest pm2 command is available for Arch. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.