Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

PM2 command not found

#Install PM2 globally:

#run as root:
npm i -g pm2

#or if user is sudo-er
sudo npm i -g pm2

#and then go back to user (or stay in root if it was created by root user) and run it:
pm2 start server.js
Comment

PREVIOUS NEXT
Code Example
Shell :: list drives unbuntu server 
Shell :: npm install mongoose error npm ERR! code ENOSELF 
Shell :: conda install selenium 
Shell :: nginx E: Sub-process /usr/bin/dpkg returned an error code (1) 
Shell :: Installation failed: Download failed. Destination directory for file streaming does not exist or is not writable. 
Shell :: check flutter version of project from command line 
Shell :: clear bash history 
Shell :: install spyder conda 
Shell :: check cpu temp linux 
Shell :: unix:///var/run/supervisor.sock no such file 
Shell :: search for a commit in git logs 
Shell :: kill vlc in linux 
Shell :: ssh permissions too open 
Shell :: jupyterlab setup 
Shell :: bash get width of terminal 
Shell :: mpeg-4 aac decoder plugin for linux download 
Shell :: expo keystore 
Shell :: get current date talend 
Shell :: install wheel 
Shell :: vim remove whitespace from end of line 
Shell :: firewall-cmd remove port 
Shell :: add user to sudoers 
Shell :: install postcss 
Shell :: error while installing psycopg2 on ubuntu 20.04 
Shell :: increment number bash 
Shell :: run a nuget package restore to generate this file 
Shell :: git fetch all remote branch 
Shell :: dd show progress 
Shell :: openssl version command 
Shell :: checksum command windows 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =