2018-11-27 在CentOs 7上安装 nodejs

2018-11-27  本文已影响48人  Albert陈凯

参照
https://github.com/nodesource/distributions/blob/master/README.md

照理说只要这样一下就可以了

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

但是老子网络连不到、

https://rpm.nodesource.com/pub_10.x/el/7/x86_64/repodata/90d7c2201e78566acf9a9cfc5c38a383175ac310-filelists.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.

火大,最后尝试

https://linuxize.com/post/how-to-install-node-js-on-centos-7/#1-install-nvm-node-version-manager

nvm

上一篇下一篇

猜你喜欢

热点阅读