Install PM2 process manager globally
PM2 keeps Node apps running, restarts on crash, and starts on boot. Install globally via npm.
Installs PM2, a production process manager for Node.js applications. PM2 keeps apps running after crashes, manages logs, and supports clustering for multi-core use.
When you need this: Before deploying any Node.js application to production.
Command
3 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.