Home > Article > Operation and Maintenance > How to install pm2 under Linux in one minute
The following column linux system tutorial will introduce to you how to install pm2 under Linux. I hope it will be helpful to friends in need!
Install pm2 under linux
Global installation
npm install pm2 -g
Create soft connection
ln -s /root/node-v10.14.2-linux-x64/bin/pm2 /usr/local/bin/
View the process
pm2 list
Start
The thread name is in quotation marks
pm2 start npm --name "my-nuxt" -- run start
End the thread
pm2 delete my-nuxt
Recommended study: "linux video tutorial 》
The above is the detailed content of How to install pm2 under Linux in one minute. For more information, please follow other related articles on the PHP Chinese website!