Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including pm2-windows-startup with all npm packages installed. Try it out:

var pm2WindowsStartup = require("pm2-windows-startup")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

pm2-windows-startup v1.0.3

Utility to make PM2 automatically resurrect on Windows startup


Utility to make PM2 automatically resurrect on Windows startup. The utility achieves this by adding the right registry entry, using start-on-windows-boot.

Installation and usage

> npm install pm2-windows-startup -g
> pm2-startup install

PM2 will now automatically revive the saved processes on startup. To save the current list of processes execute:

> pm2 save
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free