npm-windows-upgrade:在Windows上升级npm

上传者: 42178688 | 上传时间: 2022-06-15 23:01:01 | 文件大小: 46KB | 文件类型: ZIP
在Windows上升级NPM 在Windows上升级npm需要手动步骤,以确保PowerShell / CMD找到新版本的npm。 这是一个用 :red_heart: 对于npm和Node,将过程简化为一个简单的命令。 用法 首先,通过从提升的PowerShell中运行以下命令,确保可以在系统上执行脚本。 要以管理员身份运行PowerShell,请单击开始,搜索PowerShell,右键单击PowerShell并选择Run as Administrator 。 Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force 然后,要安装和使用此升级程序工具,请运行以下命令(也可以从提升的PowerShell或cmd.exe中运行)。 注意:此工具至少需要Node v8 ,请。 npm install --global --production npm-windows-upgrade npm-windows-upgrade 是否只想安装最新版本? 当然: npm-windows-upgrade --npm-version la

文件下载

资源详情

[{"title":"( 28 个子文件 46KB ) npm-windows-upgrade:在Windows上升级npm","children":[{"title":"npm-windows-upgrade-master","children":[{"title":"powershell","children":[{"title":"upgrade-npm.ps1 <span style='color:#111;'> 9.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"debug.js <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"compatible.js <span style='color:#111;'> 774B </span>","children":null,"spread":false},{"title":"find-npm.js <span style='color:#111;'> 4.45KB </span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"upgrader.js <span style='color:#111;'> 6.87KB </span>","children":null,"spread":false},{"title":"powershell.js <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"strings.js <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"versions.js <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false}],"spread":true},{"title":".vscode","children":[{"title":"launch.json <span style='color:#111;'> 836B </span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"src","children":[{"title":"debug.js <span style='color:#111;'> 554B </span>","children":null,"spread":false},{"title":"find-npm.js <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"upgrader.js <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false},{"title":"powershell.js <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"versions.js <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"fixtures","children":[{"title":"child_process.js <span style='color:#111;'> 482B </span>","children":null,"spread":false}],"spread":true},{"title":"test.js <span style='color:#111;'> 291B </span>","children":null,"spread":false},{"title":"full","children":[{"title":"test.ps1 <span style='color:#111;'> 705B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 5.73KB </span>","children":null,"spread":false},{"title":".npmrc <span style='color:#111;'> 45B </span>","children":null,"spread":false},{"title":"appveyor.yml <span style='color:#111;'> 761B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"npm-windows-upgrade.js <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"package-lock.json <span style='color:#111;'> 71.51KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明