2

I have a nodejs app which should start running when windows starts. As I'm new to node and have never done anything similar I don't know how to do it. I have been reading some articles from several webs that use AdvancedInstaller or other software but don't know if there are any ways to do it without using other software. Anyone can help?

drp
  • 23
  • 2
  • 6

2 Answers2

2

You need to use pm2

There are other packages aimed at making pm2 a windows service:

pm2-windows-startup

pm2-windows-service

gyc
  • 4,300
  • 5
  • 32
  • 54
-1

It seems like you need to create *.sh script and put in the Startup folder maybe this can help you or just google sh script startup nodejs windows

Community
  • 1
  • 1
Denys Medvediev
  • 1,160
  • 3
  • 16
  • 32