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

谁践踏了优雅 2023-02-21 15:29 152阅读 0赞

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:

  1. 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 条评论,152人围观)

还没有评论,来说两句吧...

相关阅读