我正在使用-g在使用时使用标志的示例,npm install但我无法通过帮助系统弄清楚-g标志正在做什么.
K Z*_*K Z 14
如果你这样做,npm help install你会看到:
Run Code Online (Sandbox Code Playgroud)o npm install (in package directory, no arguments): Install the dependencies in the local node_modules folder. In global mode (ie, with -g or --global appended to the com- mand), it installs the current package context (ie, the current working directory) as a global package.
| 归档时间: |
|
| 查看次数: |
15475 次 |
| 最近记录: |