# PM2

[BASE product page](<https://base.akulich.dev/en/library/pm2/>) · [Resource](<https://github.com/Unitech/pm2>)

ID: pm2 · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A Node\.js process manager with monitoring and restart: it manages runtime services and helps keep backend applications running\.

## Type

Developer CLI

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/pm2/#resource-access>)

freemium

## [What you can use for free](<https://base.akulich.dev/en/library/pm2/#resource-access>)

A local process manager subject to AGPL obligations\.

## [Paid features and costs](<https://base.akulich.dev/en/library/pm2/#resource-access>)

PM2 Plus and server hosting are paid for separately\.

## [Access and limitations](<https://base.akulich.dev/en/library/pm2/#resource-access>)

A local process manager subject to AGPL obligations\. PM2 Plus and server hosting are paid for separately\.

## [Use cases](<https://base.akulich.dev/en/library/pm2/#resource-tasks>)

- Manage a Node\.js backend's lifecycle
- Connect monitoring and test restart after process termination

## Category IDs

- software
- infrastructure

## Subcategory IDs

- software\.cli
- infrastructure\.developer

## Tags

- PM2
- CLI
- Development

## Also known as

- Unitech/pm2
- pm2
- nodejs\-process\-manager
- production\-process\-manager

## [Selection purpose](<https://base.akulich.dev/en/library/pm2/#resource-selection>)

Manage a Node\.js backend's lifecycle

## [Choose this when](<https://base.akulich.dev/en/library/pm2/#resource-selection>)

- Manage a Node\.js backend's lifecycle
- Connect monitoring and test restart after process termination

## [Requirements](<https://base.akulich.dev/en/library/pm2/#resource-selection>)

- The README specifies Node\.js 18\+ or Bun 1\+ and macOS/Linux/Windows\. PM2 also runs programs in other languages and binaries\.

## [Limitations](<https://base.akulich.dev/en/library/pm2/#resource-selection>)

- Costs and limits of free use: PM2 Plus and server hosting are paid for separately\.
- Terms of use: AGPL\-3\.0 core; the PM2 Plus managed service is licensed separately\.
- Cluster mode and reload are documented for Node\.js applications; these examples do not establish the same mode for arbitrary Python/Ruby processes\. PM2 Plus is a separate observability service\.

## [Questions before use](<https://base.akulich.dev/en/library/pm2/#resource-faq>)

### What can you use for free in PM2?

A local process manager subject to AGPL obligations\.

### What additional costs might arise with PM2?

PM2 Plus and server hosting are paid for separately\.

### What terms of use matter for PM2?

AGPL\-3\.0 core; the PM2 Plus managed service is licensed separately\.

### How do you get started with PM2?

Define the application process and required environment settings\. Connect monitoring and test restart after process termination\. Save the working command or script and the result criteria\.

### How does PM2 restore processes after a machine restart?

pm2 startup generates integration with a supported init system; pm2 save separately preserves the current process list\. The README suggests pm2\-runtime for containers and the additional pm2\-logrotate module for log rotation\.

## Sources for the selection guide

- [https://github\.com/Unitech/pm2](<https://github.com/Unitech/pm2>)
- [https://raw\.githubusercontent\.com/Unitech/pm2/HEAD/README\.md](<https://raw.githubusercontent.com/Unitech/pm2/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/Unitech/pm2/HEAD/LICENSE](<https://raw.githubusercontent.com/Unitech/pm2/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/pm2/#resource-scenario>)

Manage a Node\.js backend's lifecycle\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Project files or environment\.
- A shell and supported platform\.

## Steps

1. Define the application process and required environment settings\.
2. Connect monitoring and test restart after process termination\.
3. Save the working command or script and the result criteria\.

## Check your result

- The command correctly handles paths, Unicode, and invalid inputs\.
- Repeat runs behave predictably; credentials do not appear in the output\.

## [License](<https://base.akulich.dev/en/library/pm2/#resource-license>)

AGPL\-3\.0 core; the PM2 Plus managed service is licensed separately\.

## License explanations for the specified scope

### AGPL 3\.0 — copyleft with a network\-service condition

Use, modification, and commercial use cases are permitted\. GPL obligations apply to distribution\. If you modify an AGPL\-covered program and let users interact with it over a network, you must offer them the corresponding source code for that version\. This applies to the covered program, not automatically to all your data or independent applications\.

[License terms](<https://opensource.org/license/agpl-3.0>)

## [Sources](<https://base.akulich.dev/en/library/pm2/#resource-sources>)

- [Official source](<https://github.com/Unitech/pm2>)
- [Official source](<https://raw.githubusercontent.com/Unitech/pm2/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/Unitech/pm2/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
