centos新装开发环境

前端之家收集整理的这篇文章主要介绍了centos新装开发环境前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

#nodejs

yum install gcc gcc-c++ -y
$ yum install wget -y
$ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
$ source ./root/.bashrc
$ nvm install v8.9.4
$ nvm alias default 8.9.4
$ npm install -g cnpm --registry=https://registry.npm.taobao.org

猜你在找的CentOS相关文章