About PM2
PM2 is a process manager for running Node.js and Bun applications in production, with load balancing built in. Its job is to keep your apps running: it daemonizes a process, restarts it if it crashes, lets you reload it without downtime and takes care of routine sysadmin chores around running services.
Starting an application takes a single command, and PM2 can manage more than JavaScript. The README notes it can start Python, Ruby and binaries found in your PATH as well. Once apps are running, you can list them, monitor them and manage them from the command line. PM2 works on Linux, macOS and Windows and supports Node.js 18 and newer and Bun 1 and newer, with notes on symlinking node to bun when Node.js is not installed.
Topics also mention deploy tooling and monitoring, and the project is tested with a comprehensive test suite. The license is listed as 'Other' on GitHub, so review the terms for commercial use. It is a lightweight way to run Node services on a single server without adopting a container orchestrator.
Key features
- Keeps apps running with automatic restarts
- Zero-downtime application reloads
- Built-in cluster load balancer
- Manages Node.js, Bun and other processes
- Command line monitoring and management
- Linux, macOS and Windows support
Good fit for
- Running Node.js services on a VPS
- Zero-downtime deploys without containers
- Monitoring process health from the CLI
PM2: questions and answers
- What is PM2 used for?
- PM2 is a production process manager for Node.js and Bun apps with a built-in load balancer, automatic restarts and zero-downtime reloads, working on Linux, macOS and Windows. It is a good fit for running Node.js services on a VPS, zero-downtime deploys without containers and monitoring process health from the CLI.
- Is PM2 open source?
- Yes. PM2 is open source under a custom licence. Its source code is on GitHub at Unitech/pm2 and is written mainly in JavaScript.
- Is PM2 free?
- Yes. PM2 is open source, so the software itself is free to use under the terms of its own licence. Paid plans are also available, starting at $39 per month.
- What are some alternatives to PM2?
- Similar open-source tools in the CI/CD & DevOps category include Spug, Act and Kamal. SaaS products in the same category include Quickdeploy, AWS CodePipeline and Buddy.
- Is PM2 actively maintained?
- Yes. The most recent commit to PM2 was on 3 November 2026, and the latest release is v7.1.2, published on 3 November 2026. The project has 43k stars on GitHub, with 31 added in the last 30 days.
Open-source alternatives to PM2
See all
Spug
CI/CD & DevOps
Spug is a lightweight agent-free automatic operation and maintenance platform designed for
AGPL-3.0vs AWS CodeDeploy★ 11k
Act
CI/CD & DevOps
Run your GitHub Actions locally 🚀
MITvs Blacksmith★ 73k
Kamal
CI/CD & DevOps
Deploy web apps anywhere.
MITvs Heroku★ 15k
Changie
CI/CD & DevOps
Automated changelog tool for preparing releases with lots of customization options
MIT★ 923
Cuber
CI/CD & DevOps
An open-source automation tool that simplifies the deployment of your apps on Kubernetes.
Apache-2.0vs Heroku★ 712
pypyr
CI/CD & DevOps
pypyr task-runner cli & api for automation pipelines. Automate anything by combining comma
Apache-2.0★ 647
SaaS alternatives to PM2
See all
Quickdeploy
CI/CD & DevOps
Deploys a web app to your own VPS with one command, on your own server and domain
SaaS
AWS CodePipeline
CI/CD & DevOps
Managed AWS service that automates build, test and deploy release pipelines
SaaS
Buddy
CI/CD & DevOps
Visual CI/CD tool for building, testing and deploying web projects
SaaS
Octopus Deploy
CI/CD & DevOps
Release management and deployment automation across many environments
SaaS
DeployBot
CI/CD & DevOps
Deployment platform with zero downtime, rollback, and multi-environment support
SaaS
DeployHQ
CI/CD & DevOps
Deploy your website automatically from Git with zero-downtime deployments and one-click rollbacks
SaaS

