npm: add --yes to init and add shortform options (#13634)

* npm: add --yes to init and add shortform options

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md

* Update npm.md
This commit is contained in:
Managor
2024-09-08 18:52:28 +03:00
committed by GitHub
parent 2545d6e0dd
commit bbe3ca269d
6 changed files with 20 additions and 20 deletions

View File

@@ -17,11 +17,11 @@
- Installiere ein Package und füge es als Entwicklungs-Abhängigkeit der `package.json` Datei hinzu:
`npm install {{package_name}} --save-dev`
`npm install {{package_name}} {{-D|--save-dev}}`
- Installiere ein Package global:
`npm install --global {{package_name}}`
`npm install {{-g|--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 --global --depth={{0}}`
`npm list {{-g|--global}} --depth {{0}}`