PM2 logo
Home Pricing Contact Documentation
Monitor PM2

Update PM2

    • Quick Start
    • General
      • Process Management
      • CLI Reference
      • Restart Strategies
      • Logs
      • Persistent Application
      • Configuration File
      • Cluster Mode
      • Watch & Restart
      • Memory Limit
      • PM2 as a Static Server
      • Deployment System
      • Environment Variables
      • Update PM2
    • Advanced
      • Graceful Start/Shutdown
      • Exposing RPC function
      • Exposing Metrics
      • PM2 Javascript API
      • Monitoring
      • No daemon, Multiple PM2
      • Module System
      • Source Map Support
      • Development Workflow
      • Auto Completion
    • Integrations
      • Docker Integration
      • Bun, Deno & other Runtimes
      • Use PM2 in Cloud Providers
      • Production Setup with Nginx
      • Using transpilers with PM2
      • Heroku
      • AWS Elastic Beanstalk
      • Capistrano-like Deployments
    • Resources
      • What's New
      • FAQ
      • Contributing
    • Overview
    • Quick Start
    • Server & Apps Overview
    • Application Dashboard
    • Realtime Logs
    • Notifications
    • Issue Dashboard
    • Custom Metrics
    • Custom Actions
    • Modules
    • pm2/io Reference
    • Metrics Glossary
    • FAQ
    • Overview
    • Distributed Tracing
    • Profiling
    • Alerting
    • Dashboards
    • Logs
    • Webchecks
    • Go Collector
    • Prometheus
    • Frontend Monitoring
    • On-Premise

Updating PM2

Updating PM2 is extremely fast (less than few seconds) and seamless.

Process to update PM2

Install the latest PM2 version:

npm install pm2 -g

You can now update the in-memory PM2 daemon via command:

pm2 update

Node.js version upgrade

When you upgrade your Node.js installation, make sure to also update Node.js version starting PM2.

To update the PM2 startup script run:

$ pm2 unstartup
$ pm2 startup
Contribute to this page
PM2 logo
Quick start Documentation Integrations Pricing Contact
Get started
© 2014-2026 PM2. All Rights Reserved.
Terms of Use // Privacy Policy // llms.txt