[ pm2 ] 使用nvm跑不同版本的不同的node application
pm2 start app.js --name app1 --interpreter=/home/user/.nvm/versions/node/v0.12.0/bin/node
nvm install : https://github.com/creationix/nvm
To install or update nvm, you can use the install script using cURL:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
or Wget:
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
#### use absolute path
nvm install : https://github.com/creationix/nvm
To install or update nvm, you can use the install script using cURL:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
or Wget:
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
#### use absolute path
留言
張貼留言