A production process manager for Node.js/Bun applications with a built-in load balancer, keeping apps alive forever and enabling zero-downtime reloads.
- 2.9.2-next
- Published at
- Dec 21, 2017
- 43,334
- Stars
- 47
- Download
- Synced at
- 10m ago
The author no longer ships through GitHub Releases, but the repository is still active (last push 10d ago). Get the latest version from: Project homepage
Latest release
2.9.2-nextDec 21, 2017, 05:00 PMPre-releaseDownloads slow? Switch the source anytime above
README
Project Overview
PM2 is a production process manager for Node.js/Bun applications with a built-in load balancer. It allows you to keep applications alive forever, reload them without downtime, and facilitate common system admin tasks.
Key Features
- Process Management: Start, stop, restart, and delete applications
- Cluster Mode: Starts multiple Node.js processes and load-balances HTTP/TCP/UDP queries between them
- Zero Downtime Reload: Update applications without any downtime
- Log Management: View, flush, and rotate logs
- Terminal Monitoring: Monitor all processes from the command line
- Container Support: Uses
pm2-runtimeas a drop-in replacement fornode
Target Audience
- Node.js/Bun application developers
- DevOps engineers who need production process management
- Teams who want zero-downtime deployments
Quick Start
# Install
npm install pm2 -g
# Or with Bun
bun install pm2 -g
# Start an application
pm2 start app.jsCore Advantages
- Battle-tested process manager
- Built-in load balancer
- Zero-downtime reload support
- Supports Linux, macOS, and Windows
- Supports Node.js 18+ and Bun 1+
System Requirements
- OS: Linux, macOS, Windows
- Architectures: Not explicitly listed
- Additional Dependencies: Node.js 18+ or Bun 1+
Release history
Sort