mac安装npm命令行

    技术2022-07-11  113

    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命令行

    Processed: 0.010, SQL: 9