mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 12:46:02 +02:00
npm: use long argument --global (#5880)
This commit is contained in:
parent
5d01dae43f
commit
1fe05c4e59
3 changed files with 6 additions and 6 deletions
|
@ -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}}`
|
||||
|
|
|
@ -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}}`
|
||||
|
|
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue