PM2 is a production process manager designed primarily for Node.js and Bun applications.
It keeps applications running, automatically restarts failed processes and provides a command-line interface for managing application lifecycles.
The software includes a built-in load balancer, zero-downtime reloads, process monitoring, log management and startup-script generation. Although focused on JavaScript runtimes, PM2 can also launch Python and Ruby scripts, shell commands and executable binaries.
This is free and open source software.
Key Features
- Starts, stops, restarts and removes managed applications.
- Automatically restarts applications after crashes.
- Supports Node.js, Bun and other executable programs.
- Provides a built-in load balancer for Node.js applications.
- Runs multiple application instances in cluster mode.
- Supports zero-downtime application reloads.
- Offers terminal-based process and resource monitoring.
- Provides consolidated and configurable log management.
- Generates startup scripts for systemd, OpenRC and other init systems.
- Restores saved process lists after a system restart.
- Includes a production-oriented runtime for containers.
- Supports ecosystem configuration files for managing multiple applications.
Website: github.com/Unitech/pm2
Support:
Developer: Alexandre Strzelewicz
License: GNU Affero General Public License v3.0

PM2 is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.