mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 10:42:07 +02:00

* npm: improved description of npm list and npm install * npm, nvm: add Spanish translation * nvm: add Spanish translations to the commands * helm-install, helm, nest, netlify, next, nginx, vite: add Spanish translation * choco, clear, cmd, del, dir, mkdir: add Spanish translation * helm-*: update Spanish translation Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * pages.es/common: update pages Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * pages.es/windows: update pages Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Darío Hereñú <magallania@gmail.com>
958 B
958 B
npm
JavaScript and Node.js package manager. Manage Node.js projects and their module dependencies. More information: https://www.npmjs.com.
- Interactively create a
package.json
file:
npm init
- Download all the packages listed as dependencies in
package.json
:
npm install
- Download a specific version of a package and add it to the list of dependencies in
package.json
:
npm install {{package_name}}@{{version}}
- Download the latest version of a package and add it to the list of dev dependencies in
package.json
:
npm install {{package_name}} --save-dev
- Download the latest version of a package and install it globally:
npm install --global {{package_name}}
- Uninstall a package and remove it from the list of dependencies in
package.json
:
npm uninstall {{package_name}}
- List of locally installed dependencies:
npm list
- List top-level globally installed packages:
npm list --global --depth={{0}}