Created
March 24, 2025 05:00
-
-
Save otnamhcar/f6009c425fd56dacfc02beba10fc091c to your computer and use it in GitHub Desktop.
install nodejs, npm, and pm2 to proxmox ve 8.3.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## update repo first | |
| apt update | |
| ## install nodejs using current repo | |
| apt install nodejs -y | |
| ## install npm , i don't know why, but npm doesn't installed when installing nodejs | |
| apt install npm -y | |
| ## install pm2 globally | |
| npm install pm2 -g | |
| ## after staring your apps using PM2, save current session using | |
| pm2 save | |
| # to make sure it will start when reboot run this command | |
| pm2 startup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment