# Unitech/pm2

Node.js/Bun Production Process Manager with a built-in Load Balancer.

Repository: https://github.com/Unitech/pm2
Canonical: https://ross.abutalabs.com/products/pm2
Homepage: https://pm2.keymetrics.io/docs/usage/quick-start/
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: pm2, nodejs, node, process-manager, monitoring, load-balancer, production, deploy, command-line, command-line-tool
Last push: 2026-08-24T12:35:48+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 4852, "days_push": 9, "days_rel": 9, "gap_med": 16.0, "n_releases_24m": 15}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 43280, forks 2722 (observed 2026-08-28T04:12:08.997019+00:00)

## What it is
PM2 is a production process manager for Node.js and Bun applications with a built-in load balancer and cluster mode. It daemonizes applications, keeps them alive forever, enables zero-downtime reloads, and provides CLI-based monitoring, log management, and startup script generation.

## Use cases
- keep my node app running forever in production
- restart node.js application automatically when it crashes
- zero downtime deployment reload for node app
- scale node.js server across all cpu cores
- run a python script as a background daemon
- auto restart app when files change
- generate startup script so processes survive reboot
- view and manage logs of running processes

## When to choose
- you run Node.js or Bun applications in production and need daemonization, auto-restart, and clustering
- you want zero-downtime reloads and a built-in load balancer without extra infrastructure
- you need a single CLI to manage multiple heterogeneous processes (Node, Python, binaries) with logs and monitoring
- you want processes to persist across machine reboots via generated init scripts

## When to avoid
- you run containers under Kubernetes or systemd, which already handle process supervision and restarts
- you need distributed multi-host orchestration rather than single-machine process management
- you want deep application performance profiling and alerting, which requires the paid pm2.io tiers

## Facets
- artifact type: cli-tool
- maturity: stable
- function: monitoring, deployment, developer-tools, cli, workflow-automation, logging
- domain: backend, developer-tools, self-hosted
- platform: windows, cli, cross-platform
- tags: process-manager, daemon, load-balancer, zero-downtime-reload, bun, cluster-mode, startup-scripts, log-management, devops, command-line, nodejs, linux, macos

## Member repositories
- Unitech/pm2 (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:08.997019+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:22:34.442162+00:00, confidence not recorded.
  - readme: https://github.com/Unitech/pm2 (fetched 2026-08-28T04:12:08.997019+00:00, sha f04fb7c04a27)
  - homepage: https://pm2.keymetrics.io/docs/usage/quick-start/ (fetched 2026-08-29T07:46:15.618841+00:00, sha 16c26004809f)
  - site_page: https://pm2.keymetrics.io/docs/usage/process-management (fetched 2026-08-29T07:46:15.630122+00:00, sha 92923d98e5f6)
  - site_page: https://pm2.keymetrics.io/docs/usage/commands (fetched 2026-08-29T07:46:15.632091+00:00, sha 94db0df71992)
  - site_page: https://pm2.keymetrics.io/docs/usage/restart-strategies (fetched 2026-08-29T07:46:15.634704+00:00, sha 01279563dd5b)
  - site_page: https://pm2.keymetrics.io/docs/usage/log-management (fetched 2026-08-29T07:46:15.636307+00:00, sha 825373f3549e)
  - site_page: https://pm2.keymetrics.io/docs/usage/startup (fetched 2026-08-29T07:46:15.637994+00:00, sha 9dd3aee38c2c)
  - site_page: https://pm2.keymetrics.io/docs/usage/application-declaration (fetched 2026-08-29T07:46:15.639789+00:00, sha 463dba69dd35)
  - site_page: https://pm2.keymetrics.io/docs/usage/cluster-mode (fetched 2026-08-29T07:46:15.641789+00:00, sha 0d15ff3ed70b)
  - site_page: https://pm2.keymetrics.io/pricing (fetched 2026-08-29T07:46:15.628162+00:00, sha 7a9d9843558a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
