1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 13:06:00 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -21,7 +21,7 @@
- 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:
@ -33,4 +33,4 @@
- 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:
`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}}`

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}}`