How To Install Node.js on Ubuntu 20.04

Copy from: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04 Option 3 — Installing Node Using the Node Version Manager Another way of installing Node.js that is particularly flexible is to use nvm, the Node Version Manager. This piece of software allows you to install and maintain many different independent versions of Node.js, and their associated Node packages, at the same time.Continue reading “How To Install Node.js on Ubuntu 20.04”

Auto start pm2 when reboot Windows

install pm2: $ npm install pm2 -g install mp2 start for windows $ npm install pm2-windows-startup -g   install pm2 window service $ npm i pm2-windows-service -g $ pm2-service-install [-n <service name>] and go to this install path: C:\Users\Administrator\AppData\Roaming\npm\node_modules\pm2-windows-service\src\daemon\ and find file is called “mp2node” and edit at <argument>[js file].js</argument> to path of your javascript file and save and reboot service in “Service.msc”      Continue reading “Auto start pm2 when reboot Windows”