安装NODEJS (Debian 8 / Ubuntu 16/CentOS 7)

版权声明:转载请注明出处 https://blog.csdn.net/geol200709/article/details/80362652
Debian 8 / Ubuntu 16
apt-get update

apt-get install curl sudo

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

开始安装

apt-get install nodejs


CentOS 7

执行以下命令安装

curl -sL https://rpm.nodesource.com/setup_8.x | bash -

yum install nodejs

安装完查看 Node.js 和 NPM 版本:


猜你喜欢

转载自blog.csdn.net/geol200709/article/details/80362652
今日推荐