How to use NSSM

This is probably obvious, but how can I “install” NSSM? according to the docs, I don't need this. If I wanted to use the graphical interface, I know what works (I tested it), but when using the command line or batch file, it cannot find it.

I know the docs say "... preferably somewhere in your PATH," but I'm not sure where it will be. (None of the “program files” folders work.)

+6
source share
1 answer

Place the nssm.exe file in a folder that is already in the PATH variable

Use echo %PATH% or set PATH in the CLI to find out the folders.

OR

Put in C:\Programs\nssm and then add this folder to your env PATH variable:

setx PATH "%PATH%;C:\Programs\nssm" /M

Refer to the manual: CLI and GUI for use.

+8
source

Source: https://habr.com/ru/post/976748/


All Articles