[英]How to upgrade from Node.js version v4.4.5 to v6.11.0 on Windows?
npm cache clean
npm update -g
I used the following instructions to upgrade but still it dint update. 我按照以下说明进行了升级,但仍然没有更新。 Any suggestions? 有什么建议么? (I'm using Node.js 4.4.5 and want to update to Node.js 6.11.0.) (我正在使用Node.js 4.4.5,并想更新到Node.js 6.11.0。)
Just run the set of commands to upgrade node and npm versions: 只需运行以下命令即可升级节点和npm版本:
Run PowerShell as Administrator 以管理员身份运行PowerShell
To upgrade to specific node version, run the following command: 要升级到特定的节点版本,请运行以下命令:
To manually specify a version: 手动指定版本:
go through the official npm documentation: https://www.npmjs.com/package/npm-windows-upgrade 查看官方的npm文档: https ://www.npmjs.com/package/npm-windows-upgrade
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.