1、npm版本查看:

npm -v

2、npm升级到最新版本

npm install -g npm

3、npm升级到指定版本

npm -g install npm@8.8.0

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐