Elestia Open Source Ratings
6.7

PM2

Reasonable, with limits. 2nd of 10 script runners and process managers.

PM2 is a long-running, actively maintained production process manager for Node.js and Bun. It handles clustering, log rotation, startup scripts and, since v7, running .ts files directly. It is still a reasonable choice for keeping apps alive on a VPS or bare server. It is not a dev-loop TypeScript runner, its AGPL-3.0 licence and roughly 83 MB daemon are real costs, and containers or systemd now cover much of its job.

Best for: Teams that deploy Node.js or Bun apps straight onto Linux servers or VPSes and want clustering, auto-restart, logs and boot scripts from one CLI.

WebsiteGitHubnpm

Scores

Overall6.7

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

PM2 is a maintained and capable production supervisor, and it is a fair pick for apps that run straight on a server. It does not solve the category's main dev-loop job: tsx or nodemon are better for running and reloading TypeScript in development. systemd and container orchestrators now cover keep-alive for many teams. The AGPL licence, daemon overhead and loss of share keep it below a strong pick.

GPT-6.2 Sol: 7.4, likely 6.3 to 8.4

PM2 is a strong pick among these peers when a self-hosted service needs crash recovery, reboot recovery, and managed workers. For running and watching TypeScript during development, tsx is simpler and has stronger adoption momentum. Runtime-dependent TypeScript support, weak repository controls, and slower growth keep PM2 from being the category default.

Needed by many4.8

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

PM2 covers the 'keep it running in production' part of the category, not the everyday dev loop that tsx and nodemon serve. It only matters to teams that run Node processes on their own servers, a group shrinking as more teams deploy with containers and serverless. That is still a sizeable group of backend developers.

GPT-6.2 Sol: 4.6, likely 3.4 to 5.8

TypeScript is common, and many developers benefit from running files directly with watch mode. PM2’s main audience is teams that also need to supervise long-lived services on hosts they control. The State of JavaScript survey measures TypeScript use, so the size of that narrower group remains uncertain.

Helps a lot7.3

How well does it do the job for those who need it?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

PM2 is feature-rich for production supervision: cluster mode, reloads, log rotation, startup scripts, monitoring and, since v7, .ts apps through Node type stripping or Bun. Against that, the daemon costs about 83 MB, cold start and crash recovery are slow, and its watch mode is weak for development. Many fixes in 7.x also show rough edges around environment handling and Windows.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.1

PM2 covers file watching, crash recovery with backoff, reboot recovery, logs, and clustered reloads, and it ships TypeScript declarations for its API. The CLI is well documented, though generated configs can be fragile if they assume Bun and Node run the same TypeScript syntax. An older comparison by the Oxmgr maintainer found higher daemon memory use and slower recovery for PM2, so performance on 7.1.2 remains uncertain.

Holds up over time6.8

Will it still be a good choice in two years?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

The project is clearly active: 131 commits and 9 releases in the last year, a v7 major in 2026 and a Scorecard Maintained score of 10, with Keymetrics behind it. On the other side, there are 989 open issues, minor releases with breaking environment changes, and more teams moving to systemd and containers. Those keep the score from going higher.

  • github commitsLastYear / releasesLastYear: 131 commits and 9 releases in the last year
  • github openIssues: 989 open issues against 4168 closed
  • github.com/Unitech/pm2/releases: Breaking environment-inheritance changes in 7.1.0 and 7.1.2

GPT-6.2 Sol: 7.1, likely 5.9 to 8.3

PM2 had 131 commits and nine releases in the past year, and 7.1.2 fixed a long-standing systemd update issue. Keymetrics sells monitoring built around PM2, and the current manifest names one maintainer. A large backlog, a breaking change to environment handling in 7.1.2, and limited visibility into who can publish temper confidence.

Used widely5.8

How many use it, and is that growing?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

PM2 gets about 16.2M downloads every 4 weeks and has 43k stars, which is large use for a production tool. Many installs are global or on servers, so the 23.5k dependent repos understate real use. Its download ratio is about 1.6x against a median of 4.1, so it is losing share.

  • npm downloadsLast4Weeks: 16.2M now against 10.2M a year ago, a ratio of 1.59
  • medianDownloadsRatio: Median is 4.1, so PM2 is losing ground relative to the rest
  • dependents: 23,531 repos and 1,798 packages
  • github stars: 43k stars, the most in the category

GPT-6.2 Sol: 5.1, likely 4.0 to 6.3

The 23,531 tracked repositories and 1,798 npm dependents suggest use on the scale of tens of thousands of projects, with plenty of room for error because PM2 can be installed globally. Four-week npm installs rose from 10.2 million to 16.2 million, or 1.59×, well below the catalog median of 4.1×. That points to a loss of relative ground, while downloads and GitHub stars give only an indirect view of new adoption.

  • dependents.repos, dependents.packages, peers[].dependentRepos: Tracked repository use is close to forever and well below nodemon.
  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: PM2 grew 1.59× against the 4.1× median, while tsx grew 9.06×.
  • github.stars: 43,339 stars show accumulated attention.
  • pm2.keymetrics.io/docs/usage/quick-start: The standard install is global and can leave no repository dependency entry.
Vouched for6.4

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 4.5 to 7.0

PM2 is a long-standing default in hosting tutorials and production guides, and there are user reports of it running in production. Current independent validation is thin: no survey data, and the benchmarks come from competing vendors. Online discussion now leans towards replacing it with systemd or containers.

GPT-6.2 Sol: 6.7, likely 5.5 to 7.8

Forward Email’s production configuration uses PM2, and Nuxt and Node-RED document it as a deployment option. Other operators report running APIs with it, alongside complaints about log rotation and startup reliability. These are credible signs of production use, with limited independent testing of the current release.

Safe5.2

How safe is it to depend on?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Only one low-severity ReDoS advisory appears in 24 months, and v7 cut the dependency count and patched dependency CVEs. The OpenSSF Scorecard is weak at 4.4, with no code review, branch protection or pinned dependencies, and the package pulls in 25 dependencies. The AGPL-3.0 licence restricts some commercial settings and needs legal review in many companies.

  • advisories: One low-severity ReDoS advisory (GHSA-x5gf-qvw8-r2rm)
  • scorecard: 4.4 overall; Code-Review, Branch-Protection and Pinned-Dependencies all 0
  • npm license: AGPL-3.0
  • forums.rocket.chat/t/pm2-agpl-license/20469: A company asks whether bundling PM2 puts its own product under AGPL

GPT-6.2 Sol: 5.3, likely 4.1 to 6.5

PM2 fixed the reported low-severity denial-of-service advisory in 7.0.0, about 11 months after disclosure. The current package has 25 direct dependencies, and its 4.4 OpenSSF Scorecard shows weak branch protection, code review, and workflow token controls. AGPL-3.0 permits commercial use and imposes source-sharing obligations when distributing covered software or offering a modified version for network use. npm publishing access and release provenance remain unverified.

Good

  • Built-in cluster mode with zero-downtime reloads, log management and generated startup scripts in one tool.
  • Actively maintained: v7 shipped in 2026 with Bun support, native type stripping for .ts apps and many dependencies moved into the package.
  • Config-as-code through ecosystem.config.js, plus widely copied tutorials (DigitalOcean, Better Stack) that AI agents know well.
  • A very long production track record with a large user base and a company (Keymetrics) behind it.

Bad

  • AGPL-3.0 licence, which some companies ban or must review before use.
  • The daemon costs about 83 MB of RAM and starts slower than systemd or newer Rust managers.
  • Recent minor releases (7.1.0, 7.1.2) changed how environment variables are inherited, which can break existing setups.
  • Many teams now use systemd, Docker or Kubernetes for restarts, which makes PM2 less needed. Its watch mode is no substitute for tsx or nodemon in development.

The numbers

npm downloads, 4 weeks
16M +59% in a year
GitHub stars
43k
Commits, 12 months
131
npm version
7.1.2 Nov 2026
Versions, 12 months
9
Advisories, 24 months
1 of 1 ever
OpenSSF Scorecard
4.4 out of 10, Nov 2026
Licence
AGPL-3.0

Read on 21 November 2026 from GitHub (Unitech/pm2), npm (pm2), OSV and the OpenSSF Scorecard.

Script runners and process managers

  1. 8.0tsx
  2. 6.7PM2
  3. 6.3concurrently
  4. 6.0nodemon
  5. 5.6jiti
  6. 5.0Wireit
  7. 4.9npm-run-all2
  8. 4.8swc-node
  9. 3.3ts-node
  10. 2.6forever
Compare all 10 on six scores