npm: use long argument --global (#5880)

This commit is contained in:
Nicolas Kosinski
2021-05-04 09:26:22 +02:00
committed by GitHub
parent 5d01dae43f
commit 1fe05c4e59
3 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@
- Download a package and install it globally:
`npm install -g {{module_name}}`
`npm install --global {{module_name}}`
- Uninstall a package and remove it from the list of dependencies in `package.json`:
@@ -34,4 +34,4 @@
- List top-level globally installed modules:
`npm list -g --depth={{0}}`
`npm list --global --depth={{0}}`