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 @@
- 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`:
@@ -34,4 +34,4 @@
- Buat daftar modul tingkat atas yang diinstal secara global:
`npm list -g --depth={{0}}`
`npm list --global --depth={{0}}`