Skip to content

Instantly share code, notes, and snippets.

@miebach
Created May 31, 2012 16:04
Show Gist options
  • Save miebach/2844420 to your computer and use it in GitHub Desktop.
Save miebach/2844420 to your computer and use it in GitHub Desktop.
Install nodejs as a service on windows
1) Download nssm from http://nssm.cc/download/?page=download and extract nssm.exe, for example to %windir%\system32\
2) Install your service:
nssm.exe install my-node-service c:\programs\nodejes\node.exe c:\my\server.js
3) Start it using net start:
net start my-node-service
(From http://blog.tatham.oddie.com.au/2011/03/16/node-js-on-windows/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment