{"schemaVersion":1,"id":"pm2","name":"PM2","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/pm2/","officialUrl":"https://github.com/Unitech/pm2","isCatalog":false,"description":"A Node.js process manager with monitoring and restart: it manages runtime services and helps keep backend applications running.","tasks":["Manage a Node.js backend's lifecycle","Connect monitoring and test restart after process termination"],"categoryIds":["software","infrastructure"],"subcategoryIds":["software.cli","infrastructure.developer"],"tags":["PM2","CLI","Development"],"aliases":["Unitech/pm2","pm2","nodejs-process-manager","production-process-manager"],"platforms":[],"stack":[],"compatibility":null,"pricing":"freemium","freeUsage":"A local process manager subject to AGPL obligations.","paidUsage":"PM2 Plus and server hosting are paid for separately.","license":"AGPL-3.0 core; the PM2 Plus managed service is licensed separately.","selectionGuide":{"purpose":"Manage a Node.js backend's lifecycle","chooseWhen":["Manage a Node.js backend's lifecycle","Connect monitoring and test restart after process termination"],"considerInstead":[],"requirements":["The README specifies Node.js 18+ or Bun 1+ and macOS/Linux/Windows. PM2 also runs programs in other languages and binaries."],"limitations":["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."],"faq":[{"question":"What can you use for free in PM2?","answer":"A local process manager subject to AGPL obligations."},{"question":"What additional costs might arise with PM2?","answer":"PM2 Plus and server hosting are paid for separately."},{"question":"What terms of use matter for PM2?","answer":"AGPL-3.0 core; the PM2 Plus managed service is licensed separately."},{"question":"How do you get started with PM2?","answer":"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."},{"question":"How does PM2 restore processes after a machine restart?","answer":"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."}],"related":[],"sources":["https://github.com/Unitech/pm2","https://raw.githubusercontent.com/Unitech/pm2/HEAD/README.md","https://raw.githubusercontent.com/Unitech/pm2/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Manage a Node.js backend's lifecycle.","inputs":["Project files or environment.","A shell and supported platform."],"steps":["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."],"checks":["The command correctly handles paths, Unicode, and invalid inputs.","Repeat runs behave predictably; credentials do not appear in the output."]},"sources":["https://github.com/Unitech/pm2","https://raw.githubusercontent.com/Unitech/pm2/HEAD/README.md","https://raw.githubusercontent.com/Unitech/pm2/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"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.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Developer CLI","kind":"tool","pricingNote":"A local process manager subject to AGPL obligations. PM2 Plus and server hosting are paid for separately.","notes":null,"labeledSources":[{"url":"https://github.com/Unitech/pm2","label":"Official source"},{"url":"https://raw.githubusercontent.com/Unitech/pm2/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/Unitech/pm2/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"agpl-3","title":"AGPL 3.0 — copyleft with a network-service condition","scope":null,"summary":"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.","url":"https://opensource.org/license/agpl-3.0"}],"entryIds":[],"composition":null}