Install n8n as service

I need to install n8n as service on my workstation. Can someone help me with a documentation or a tutorial ?

I have tried using nssm to create a service but it is not working

Welcome to the community @monil536!

Honestly do not have much experience with that but that I or anybody else can help you some additional information is needed. Like for example what operating system exactly you have installed on your workstation.