sh 在serverpilot上安装nvm

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 在serverpilot上安装nvm相关的知识,希望对你有一定的参考价值。

# Install dependencies as root user
ssh root@server.tribeswell.com
sudo apt-get update
sudo apt-get install build-essential libssl-dev
# Now logout of root and login as serverpilot user
ssh serverpilot@server.tribeswell.com
# Install nvm to install node and npm
# Be sure to visit the github page to view the latest version available
curl https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | sh
# Logout and login to begin using or use provided commands
# List versions to see the latest node version available
nvm ls-remote
# Install the Latest LST version
nvm install 6.9.2
# You are now ready to start using npm install inside of apps

以上是关于sh 在serverpilot上安装nvm的主要内容,如果未能解决你的问题,请参考以下文章

sh Init serverpilot工作流程

sh 易于安装openresty和NVM(在Ubuntu 14.04,15.10和16.04上使用和测试)

尝试在 aws ubuntu 实例上安装 nvm

mac 上安装 nvm 遇到的坑

LINUX下载安装nvm

NVM