mac安装npm命令行_从命令行安装NPM

mac安装npm命令行

I was trying to update my version of NPM using NPM but long story short, a permissions issue allowed NPM to be removed but not re-installed, and thus I was hosed -- NPM was nowhere to be found on "Walshbook Pro."  Eeeek.  Well, you can install NPM via command line with this command:

我试图使用NPM更新NPM的版本,但总的来说,权限问题导致NPM可以删除但不能重新安装,因此,我很不高兴– NPM在“ Walshbook Pro”上找不到。 哥哥 好了,您可以使用以下命令通过命令行安装NPM:


curl https://www.npmjs.org/install.sh | sh


Life without NPM is no life worth living at all.  AT ALL!  Keep this handy in case you do something stupid like me!

没有NPM的生活根本不值得任何生活。 完全没有! 如果您像我这样愚蠢的事情,请保持方便!

翻译自: https://davidwalsh.name/install-npm-command-line

mac安装npm命令行

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值