Compare / PM2

Rig vs PM2

PM2 is an open-source command-line process manager that keeps Node.js and Bun apps running on servers, with cluster mode and boot scripts. Rig is a desktop app that runs and watches the dev servers on your own Mac or Windows PC. Pick PM2 for production servers; pick Rig for your local development stack.

Last updated:

The short answer

Use PM2 to keep apps alive on a server: cluster mode, zero-downtime reload and startup scripts are what it is for. Use Rig on your development machine, where you want projects, merged logs, port fixes and an AI agent that can restart a dev server. Plenty of teams use PM2 in production and Rig on laptops.

Side by side

Where PM2 wins, it says so

Swipe sideways to see Rig vs PM2

FeatureRigPM2
Primary jobRun and watch local dev processesKeep apps alive on servers
InterfaceDesktop app, CLI and MCPCommand line, terminal dashboard (pm2 monit)
PlatformsmacOS 13+, Windows 11 (beta)Linux, macOS, Windows
Cluster mode and load balancingPM2 balances HTTP and TCP across CPU coresNoYes
Zero-downtime reloadNoYes
Start at boot (systemd, launchd)pm2 startup and pm2 saveNoYes
Restart after a crashRig backs off and pauses after 5 attempts by defaultYesYes
Discovers npm scripts, Procfile, ComposePM2 starts what you name, or an ecosystem fileYesNo
Port ownership and reclaimYesNo
Merged logs across processespm2 logs streams every appYesYes
MCP tools for coding agentsPM2’s site describes an MCP endpoint for its hosted monitoringYesPartial
PriceFree on your computerFree (AGPL-3.0); enterprise offering, check their site

When to choose PM2

Choose PM2 when you are running an app that has to stay up. PM2 daemonises Node.js and Bun apps, and also Python, Ruby or any binary, restarts them when they crash or exceed a memory limit, and writes a startup script for systemd, launchd and other init systems so the process list survives a reboot. Cluster mode starts one process per CPU core and load-balances connections between them, and pm2 reload swaps code with no downtime. pm2-runtime is built for containers, and log rotation is one module away. It is open source under AGPL-3.0, runs on Linux, macOS and Windows, and is installed with npm or Bun. If the machine is a server, a VPS or a container, PM2 is the right tool, and Rig is not designed for that job.

When to choose Rig

Choose Rig when the processes are your development stack. On a laptop you are not load-balancing, you are starting a Vite server, an API and a worker, watching them crash, and changing code. Rig finds the scripts in package.json, a Procfile or a Compose file, groups them into a project, and starts them in a health-aware order. Every process feeds one merged log with a colour each, crashed processes restart with backoff and pause after five attempts so a broken build does not loop forever, and a stolen port is found and freed in one click. The local MCP hub gives Claude Code, Cursor or Codex scoped tools to read logs and restart a dev server, with write actions confirmed. It runs PHP, WordPress and Compose projects too, and it is free on your computer.

Choose Rig if

  • The processes are dev servers, watchers and workers on your own computer
  • You want projects, ports and logs in a window, not a terminal
  • You want Claude Code, Cursor or Codex to see and restart the dev stack
  • You also run PHP, WordPress or Compose next to Node

Stay with PM2 if

  • You are keeping an app alive on a server
  • You need cluster mode or zero-downtime reloads
  • You want processes to come back after a reboot without logging in
  • You run Linux

Rig is not a production process manager. On a server, PM2 is the better tool.

Running both

PM2 keeps
Production and staging serversCluster mode and zero-downtime reloadsStartup scripts after a reboot
Rig takes
Dev servers and watchers on your computerMerged logs, ports and restarts while you codeMCP for your coding agent

A project can keep its PM2 ecosystem file for servers while Rig runs the npm dev scripts locally.

Questions

Should I use PM2 for local development?

You can, but it is built for servers: cluster mode, zero-downtime reload and boot scripts. For a dev stack, a tool that discovers scripts, merges logs, frees ports and talks to your AI agent is usually a better fit.

Can Rig replace PM2 in production?

No. Rig is a desktop app for development machines. It has no cluster mode, no zero-downtime reload and no startup scripts for servers. Keep PM2 there.

Is PM2 free?

Yes. PM2 is open source under AGPL-3.0. Its makers also sell a monitoring and enterprise offering; check pm2.keymetrics.io for details.

Does PM2 work on Windows?

PM2’s README says it works on Linux, macOS and Windows. Rig runs on macOS 13 and later and on Windows 11, where it is in public beta.

Sources

Facts about PM2 were checked against these public pages on 4 November 2026. Prices and features change, so check their site before you decide.

Keep PM2 on the server. Run your laptop with Rig.

Free forever on your computer. Nothing changes in production.

Download

Works with

Available for any MCP client — including