1. 在 linux 下安装 node 提示 -bash: node: command not found。
2. 这种情况可以用 epel 的来安装 node :
sudo yum install epel-release
sudo yum install nodejs
node --version
输出版本信息就证明装成功了。
3. 安装 npm 和 express:
sudo yum install npm --enablerepo=epel
sudo npm install -g express
sudo npm install -g express-generator
OK 。
参考:https://blog.csdn.net/u013708407/article/details/50239909
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有