# PM2

> Advanced production process manager for Node.js

Source: https://talira.ai/catalog/pm2-ytvz5rkx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Infrastructure
- Categories: [devops / process managers](https://talira.ai/categories/devops/process-managers), [developer tools / local dev / process managers](https://talira.ai/categories/developer-tools/local-dev/process-managers)
- Platforms: linux, macos, windows, docker, cli[^1]
- Licence: AGPL-3.0[^1]
- Pricing: Free and open source
- Pricing notes: Other licences than AGPL-3.0 are available from Keymetrics on request.
- Free tier: yes
- Self-hostable: yes
- API: yes[^2]
- Plugins: yes[^3]
- Backed by: [Keymetrics](https://talira.ai/orgs/keymetrics.md)

PM2 is a daemon process manager that keeps applications online 24/7. It runs Node.js and Bun applications, and also Python, Ruby or any binary on your PATH, restarts them when they crash, and reloads them without downtime. Cluster mode starts a process per CPU core and load-balances HTTP, TCP and UDP traffic between them. It manages logs, watches files and reloads on change, restarts a process that passes a memory limit, generates startup scripts so apps come back after a reboot, deploys from a deployment workflow, has a terminal monitoring dashboard and a module system, and works in containers and on PaaS hosts. It runs on Linux, macOS and Windows with Node.js 18+ or Bun 1+. Its makers, Keymetrics, also sell PM2.io, a web monitoring service for PM2 apps with exception tracking, custom metrics, alerts and an MCP endpoint for AI assistants.

## Links

- Website: https://pm2.keymetrics.io/
- GitHub: https://github.com/Unitech/pm2
- Docs: https://pm2.keymetrics.io/docs/usage/quick-start/

## Problems it solves

- keep my Node.js app running after it crashes or the server reboots
- reload a Node.js app in production with zero downtime
- use all CPU cores for my Node.js server without writing cluster code
- manage and rotate logs for several Node.js processes on one server
- run a Python script or binary as a background service that restarts on failure

## Features

- automatic restarts and 24/7 daemon
- cluster mode with built-in load balancer
- zero-downtime reloads
- log management
- watch and reload
- max memory reload
- startup scripts
- deployment workflow
- terminal monitoring
- module system
- container integration and PaaS compatibility
- runs Python, Ruby and other binaries too

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.43 out of 1.
Signals: backing 0.30, extensibility 0.60.

- backed by Keymetrics
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Supervisor](https://talira.ai/catalog/supervisor-v1jgwr32.md): A process control system for Unix

## Sources

[^1]: https://github.com/Unitech/pm2 (checked 22 Nov 2026)
[^2]: https://pm2.keymetrics.io/docs/usage/pm2-api/ (checked 22 Nov 2026)
[^3]: https://pm2.keymetrics.io/ (checked 22 Nov 2026)
