How to Install and Uninstall npm Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 07,2024

1. Install "npm" package

Please follow the guidelines below to install npm on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install npm

2. Uninstall "npm" package

This tutorial shows how to uninstall npm on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove npm $ sudo apt autoclean && sudo apt autoremove

3. Information about the npm package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: npm
Architecture: all
Version: 8.5.1~ds-1
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2647
Provides: arborist (= 4.3.1), node-npm (= 8.5.1), node-npm-packlist (= 3.0.0), node-npmcli-arborist (= 4.3.1), node-npmcli-ci-detect (= 2.0.0), node-npmcli-config (= 3.0.0), node-npmcli-disparity-colors (= 1.0.1), node-npmcli-fs (= 1.1.0), node-npmcli-git (= 2.1.0), node-npmcli-installed-package-contents (= 1.0.7), node-npmcli-map-workspaces (= 2.0.0), node-npmcli-metavuln-calculator (= 2.0.0), node-npmcli-name-from-folder (= 1.0.1), node-npmcli-node-gyp (= 1.0.3), node-npmcli-package-json (= 1.0.1), node-npmcli-promise-spawn (= 1.3.2), node-npmcli-run-script (= 2.0.0), node-pacote (= 12.0.3), node-qrcode-terminal (= 0.12.0), npm-packlist (= 3.0.0), pacote (= 12.0.3), qrcode-terminal (= 0.12.0)
Depends: ca-certificates, node-abbrev, node-agent-base, node-ansistyles, node-aproba, node-archy, node-asap, node-cacache, node-chalk, node-chownr, node-cli-table3, node-colors, node-columnify, node-debug, node-depd, node-emoji-regex, node-encoding, node-glob, node-got, node-graceful-fs, node-gyp, node-hosted-git-info, node-https-proxy-agent, node-ini, node-ip, node-ip-regex, node-json-parse-better-errors, node-jsonparse, node-lru-cache, node-minimatch, node-minipass, node-mkdirp, node-ms, node-negotiator, node-nopt, node-normalize-package-data, node-npm-bundled, node-npm-package-arg, node-npmlog, node-once, node-promise-retry, node-promzard, node-read, node-read-package-json, node-rimraf, node-semver, node-ssri, node-string-width, node-strip-ansi, node-tar, node-text-table, node-validate-npm-package-license, node-validate-npm-package-name, node-which, node-wrappy, node-write-file-atomic, node-yallist, nodejs:any (>= 10)
Recommends: git, node-tap
Suggests: node-opener
Filename: pool/universe/n/npm/npm_8.5.1~ds-1_all.deb
Size: 893652
MD5sum: c1da44f045f173a7642c0d5b9a800689
SHA1: ad1c86ceed3bb8f2b15c9072b17d1225865ddcbc
SHA256: a50bb6b5f1197a9d8a7c9b3e3af035572b2bbbae021013ccdaf3aed2f021da5f
SHA512: 00330efa965d0bdfb419b51978cdcc745c28cb0d42f95e6e071c24ab5f12185e838d6353923ea561ed906d290b270c13440774eabe39c88ae608a156b04001aa
Homepage: https://docs.npmjs.com/
Description: package manager for Node.js
Description-md5: 0038510bc0647e0d6e2fa9ea24bf2f27