Running Node.js application as a Windows Service using NSSM

Came across an easy way of deploying your Node.js application as a Windows Service using NSSM (Non-Sucking Service Manager)

To do the following you will need to running the command-prompt as Administrator.

NSSM is available for download at: http://nssm.cc/

Go to the NSSM install directory (win32 or win64) and type

nssm.exe install

Under ‘Application’ Path: /node.exe Startup directory: Arguments:

EXAMPLE

nssm

The remaining tabs is for further fine tuning.

Written on September 17, 2014