简体   繁体   English

NPM安装--global“软件包” VS NPM安装-g“软件包”?

[英]NPM Install --global “package” VS NPM Install -g “package”?

Can anyone tell me what the difference is? 谁能告诉我有什么区别?

NPM Install -g "package"

VS VS

NPM Install --global "package"

They are the same thing with no added benefit of one over the other; 他们是同一件事,没有一个人比另一个人有更多的好处。 --global I think is newer, but I could be wrong with that statement. --global我认为是较新的,但我可能会--global该声明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM