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

@@ -21,7 +21,7 @@
- Installiere ein Package global: - Installiere ein Package global:
`npm install -g {{package_name}}` `npm install --global {{package_name}}`
- Deinstalliere ein Package und entferne es automatisch aus der `package.json` Datei: - Deinstalliere ein Package und entferne es automatisch aus der `package.json` Datei:
@@ -33,4 +33,4 @@
- Gib eine Liste aller global installierten Packages aus: - Gib eine Liste aller global installierten Packages aus:
`npm list -g --depth={{0}}` `npm list --global --depth={{0}}`

View File

@@ -22,7 +22,7 @@
- Unduh paket dan instal secara global: - Unduh paket dan instal secara global:
`npm install -g {{nama_modul}}` `npm install --global {{nama_modul}}`
- Copot pemasangan paket dan hapus dari daftar dependensi di `package.json`: - Copot pemasangan paket dan hapus dari daftar dependensi di `package.json`:
@@ -34,4 +34,4 @@
- Buat daftar modul tingkat atas yang diinstal secara global: - Buat daftar modul tingkat atas yang diinstal secara global:
`npm list -g --depth={{0}}` `npm list --global --depth={{0}}`

View File

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