node、npm、git版本升级


node版本升级:

  • npm install -g n 或者 npm i -g n --force
  • n stable或者n --stable:安装最近稳定版本
  • n latest或者n --latest:安装最新版本
  • n模块是不支持window系统,window系统升级node就只有到node官网下载window安装包来覆盖之前的node。

node版本

  • node -v

npm版本升级:

  • npm install -g npm

npm版本:

  • npm -v

git版本升级:

  • 2.17.1之前用git update
  • 2.17.1之后用git update-git-for-windows


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM