Przeglądaj źródła

pm2 setup for linux

master
Jeffery Mendis 2 lat temu
rodzic
commit
626aa1d084
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3
    3
      linux/centos/elxr/setup.sh

+ 3
- 3
linux/centos/elxr/setup.sh Wyświetl plik



# If pm2 command not found # If pm2 command not found
# Step 1 # Step 1
npm config get prefix
# npm config get prefix
# Step 2 # Step 2
# Might give a path like /usr/local/lib/node-v20.8.0-linux-x64 # Might give a path like /usr/local/lib/node-v20.8.0-linux-x64
# Append path with /bin # Append path with /bin
export PATH=$PATH:/usr/local/lib/node-v20.8.0-linux-x64/bin
# export PATH=$PATH:/usr/local/lib/node-v20.8.0-linux-x64/bin
# Step 3 # Step 3
# Check pm2 # Check pm2
pm2
# pm2

Ładowanie…
Anuluj
Zapisz