Skip to content
Search

Forever

lastmod 2018-08-17created 2016-06-211 edits

How to install

npm install forever -g

How to use

Once installation is complete, let's run a Node app with forever.

forever start app.js

You can also view the list of processes of apps managed by forever.

forever list

To kill a process, pass the process id shown in forever list as an argument to stop.

forever stop [PID]

See also

Favorite site