pages.es/*: add Spanish translation; npm: update page (#11297)
* 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>
2023-10-27 13:43:16 -05:00
|
|
|
# npm
|
|
|
|
|
|
|
|
> Gestor de paquetes JavaScript y Node.js.
|
2024-09-27 12:54:08 -03:00
|
|
|
> Gestiona proyectos Node.js y sus dependencias de módulos.
|
pages.es/*: add Spanish translation; npm: update page (#11297)
* 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>
2023-10-27 13:43:16 -05:00
|
|
|
> Más información: <https://www.npmjs.com>.
|
|
|
|
|
2024-09-27 12:54:08 -03:00
|
|
|
- Crea un archivo `package.json` con los valores por defecto (omite --yes para hacerlo de forma interactiva):
|
pages.es/*: add Spanish translation; npm: update page (#11297)
* 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>
2023-10-27 13:43:16 -05:00
|
|
|
|
2025-03-07 13:45:30 +02:00
|
|
|
`npm init {{[-y|--yes]}}`
|
pages.es/*: add Spanish translation; npm: update page (#11297)
* 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>
2023-10-27 13:43:16 -05:00
|
|
|
|
2025-03-07 13:45:30 +02:00
|
|
|
- Descarga todos los paquetes alistados como dependencias en `package.json`:
|
pages.es/*: add Spanish translation; npm: update page (#11297)
* 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>
2023-10-27 13:43:16 -05:00
|
|
|
|
|
|
|
`npm install`
|
|
|
|
|
|
|
|
- Descarga una versión específica de un paquete y lo añade a la lista de dependencias en `package.json`:
|
|
|
|
|
|
|
|
`npm install {{nombre_paquete}}@{{versión}}`
|
|
|
|
|
|
|
|
- Descarga la última versión de un paquete y lo añade a la lista de dependencias de desarrollo en `package.json`:
|
|
|
|
|
2025-03-07 13:45:30 +02:00
|
|
|
`npm install {{nombre_paquete}} {{[-D|--save-dev]}}`
|
pages.es/*: add Spanish translation; npm: update page (#11297)
* 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>
2023-10-27 13:43:16 -05:00
|
|
|
|
|
|
|
- Descarga la última versión de un paquete y lo instala globalmente:
|
|
|
|
|
2025-03-07 13:45:30 +02:00
|
|
|
`npm install {{[-g|--global]}} {{nombre_paquete}}`
|
pages.es/*: add Spanish translation; npm: update page (#11297)
* 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>
2023-10-27 13:43:16 -05:00
|
|
|
|
2024-09-27 12:54:08 -03:00
|
|
|
- Desinstala un paquete y lo elimina de la lista de dependencias en `package.json`:
|
pages.es/*: add Spanish translation; npm: update page (#11297)
* 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>
2023-10-27 13:43:16 -05:00
|
|
|
|
|
|
|
`npm uninstall {{nombre_paquete}}`
|
|
|
|
|
|
|
|
- Lista de dependencias instaladas localmente:
|
|
|
|
|
|
|
|
`npm list`
|
|
|
|
|
2024-09-27 12:54:08 -03:00
|
|
|
- Lista los paquetes instalados globalmente:
|
pages.es/*: add Spanish translation; npm: update page (#11297)
* 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>
2023-10-27 13:43:16 -05:00
|
|
|
|
2025-03-07 13:45:30 +02:00
|
|
|
`npm list {{[-g|--global]}} --depth {{0}}`
|