Running a Node.js application using nvm as a systemd service Trickier than it seems. 1. Set up nvm Let's assume that you've already created an unprivileged user named myapp. You should never run your Node.js applications as root! Switch to the myapp user, and do the following: