git404hub

what is pm2 fr?

skevy/pm2 — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2016-11-04

JavaScriptAudience · ops devopsDormant

tl;dr

A production process manager for Node.js that auto-restarts crashed apps, load-balances traffic across multiple instances, and enables zero-downtime updates.

vibe map

mindmap
  root((pm2))
    What it does
      Keep apps running
      Auto restart on crash
      Zero downtime updates
    Tech stack
      Node.js
      CLI tool
    Use cases
      Production monitoring
      Load balance traffic
      Log management
    Audience
      DevOps teams
      Backend developers
    Extras
      Module system
      Log rotation
      Cross platform

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Automatically restart a Node.js app if it crashes from a bug or memory leak.

VIBE 2

Run multiple copies of an app across CPU cores and load-balance traffic between them.

VIBE 3

Set apps to auto-start on server reboot so they survive power outages.

VIBE 4

Update running code with zero downtime by adding or removing app instances on the fly.

what's the stack?

JavaScriptNode.js

how it stacks up fr

skevy/pm2a15n/a15na15n/checkout-validation
LanguageJavaScriptJavaScriptJavaScript
Last pushed2016-11-042019-04-072014-09-04
MaintenanceDormantDormantDormant
Setup difficultyeasyeasy
Complexity2/52/5
Audienceops devopsgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

in plain english

PM2 is a tool that keeps Node.js applications running smoothly in production. Instead of manually starting your app and hoping it stays online, PM2 automatically restarts it if it crashes, monitors how much memory and CPU it's using, and handles updates without any downtime. You install it once globally, then start your app with a single command, and it takes care of the rest. Think of it as a safety net for your server. If your application crashes for any reason, a memory leak, an uncaught error, or just a bug, PM2 immediately brings it back online. You can also see logs from all your running apps in one place, manage them from the command line (stop, restart, or delete them), and even set PM2 to automatically start your apps whenever your server reboots, so your application survives power outages without you doing anything. The real power of PM2 comes from its load-balancing feature. If you need your app to handle more traffic, you can run multiple copies of it simultaneously, say, four copies to match your server's four CPU cores. PM2 automatically spreads incoming requests across all these copies, so each one stays responsive and your app can handle way more traffic. You can even add or remove copies on the fly without stopping the application, which is invaluable when you need to update code without your users noticing any interruption. PM2 also includes a module system that lets you add extra features, like automatic log rotation so your log files don't eat up your entire hard drive, or a web terminal for accessing your server from a browser. The tool works on Linux, macOS, and Windows, and it's been tested extensively, the README mentions over 1,000 tests to make sure everything works reliably.

prompts (copy fr)

prompt 1
Show me how to install PM2 and start a Node.js app with it so it auto-restarts on crash.
prompt 2
Explain how PM2's load balancing spreads traffic across multiple instances of my app.
prompt 3
Help me configure PM2 to auto-start my app on server reboot.
prompt 4
How do I use PM2's zero-downtime reload to update my app without dropping user requests?

Frequently asked questions

what is pm2 fr?

A production process manager for Node.js that auto-restarts crashed apps, load-balances traffic across multiple instances, and enables zero-downtime updates.

What language is pm2 written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js.

Is pm2 actively maintained?

Dormant — no commits in 2+ years (last push 2016-11-04).

Who is pm2 for?

Mainly ops devops.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.