Usage. There are two ways to use forever: through the command line or by using forever in your code. Note: If you are using forever programatically you should install forever-monitor. Command Line Usage. You can use forever to run scripts continuously (whether it is written in node.js or not). Example forever start app.js.