How to Install and Uninstall npm Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 24,2024

1. Install "npm" package

Learn how to install npm on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install npm

2. Uninstall "npm" package

Please follow the guidelines below to uninstall npm on Ubuntu 21.10 (Impish Indri):

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

3. Information about the npm package on Ubuntu 21.10 (Impish Indri)

Package: npm
Architecture: all
Version: 7.5.2+ds-2
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2413
Provides: node-npm (= 7.5.2), node-npmcli-arborist (= 2.1.1), node-npmcli-ci-detect (= 1.3.0), node-npmcli-config (= 1.2.9), node-npmcli-disparity-colors (= 1.0.1), node-npmcli-git (= 2.0.4), node-npmcli-installed-package-contents (= 1.0.5), node-npmcli-map-workspaces (= 1.0.1), node-npmcli-metavuln-calculator (= 1.0.2), node-npmcli-name-from-folder (= 1.0.1), node-npmcli-node-gyp (= 1.0.1), node-npmcli-promise-spawn (= 1.3.2), node-npmcli-run-script (= 1.8.1)
Depends: ca-certificates, nodejs (>= 10), node-abbrev (>= 1.1.1~), node-agent-base, node-ajv, node-ansi, node-ansi-regex (>= 3.0~), node-ansi-styles, node-ansistyles, node-aproba, node-archy (>= 1.0~), node-are-we-there-yet, node-asap, node-asn1, node-assert-plus, node-asynckit, node-aws4, node-aws-sign2, node-balanced-match, node-bcrypt-pbkdf, node-brace-expansion, node-builtins, node-cacache (>= 15), node-caseless, node-chalk, node-chownr, node-clone, node-color-convert, node-color-name, node-colors, node-columnify, node-combined-stream, node-concat-map, node-console-control-strings, node-core-util-is, node-dashdash, node-debug, node-defaults, node-delayed-stream, node-delegates, node-depd, node-ecc-jsbn, node-encoding, node-err-code, node-extend, node-extsprintf, node-fast-deep-equal, node-forever-agent, node-form-data, node-fs.realpath, node-function-bind, node-gauge, node-getpass, node-glob (>= 7.1.2~), node-graceful-fs (>= 4.1.11~), node-gyp (>= 3.6.2~), node-har-schema, node-har-validator, node-has-flag, node-http-signature, node-https-proxy-agent, node-iconv-lite, node-imurmurhash, node-indent-string, node-inflight, node-inherits (>= 2.0.3~), node-ini (>= 1.3.5~), node-ip, node-ip-regex, node-is-typedarray, node-isarray, node-isexe, node-isstream, node-jsbn, node-jsonparse, node-json-parse-better-errors (>= 1.0.2+~), node-json-schema, node-json-schema-traverse, node-json-stable-stringify, node-json-stringify-safe, node-jsonstream (>= 1.3.2~), node-jsprim, node-leven, node-lockfile (>= 1.0.3~), node-mime, node-mime-types, node-minimatch, node-mkdirp (>= 1), node-ms, node-mute-stream, node-nopt, node-normalize-package-data (>= 2.4~), node-npm-bundled, node-npm-package-arg (>= 6.1.1), node-npmlog (>= 4.1.2~), node-number-is-nan, node-oauth-sign, node-object-assign, node-opener, node-path-is-absolute, node-promise-retry, node-promzard, node-performance-now, node-p-map, node-process-nextick-args, node-psl, node-puka, node-punycode, node-qs, node-read (>= 1.0.7~), node-readable-stream, node-read-package-json (>= 2.0.13~), node-resolve, node-resolve-from (>= 4.0~), node-retry (>= 0.10.1~), node-rimraf (>= 2.6.2~), node-safe-buffer (>= 5.2.1+~cs2.1.2), node-semver (>= 7.3.2~), node-set-blocking, node-signal-exit, node-slash, node-spdx-correct, node-spdx-exceptions, node-spdx-expression-parse, node-spdx-license-ids, node-sshpk, node-ssri (>= 8.0.0~), node-string-decoder, node-string-width, node-strip-ansi (>= 4.0~), node-supports-color, node-tar (>= 4.4~), node-text-table, node-tunnel-agent, node-tweetnacl, node-typedarray-to-buffer, node-uri-js, node-util-deprecate, node-uuid, node-validate-npm-package-name, node-verror, node-which (>= 1.3~), node-wide-align, node-wrappy, node-wcwidth.js, node-write-file-atomic, node-yallist
Recommends: git
Filename: pool/universe/n/npm/npm_7.5.2+ds-2_all.deb
Size: 765804
MD5sum: 003980ed73a1fbd69447eca9e91b4b83
SHA1: d869cf60d0e549825af2319a62050451ec9eb43b
SHA256: 919ff17cb59d5370840661dc760a506937bd707e5344142f49ec13c75aabfc1e
SHA512: f43bcdf251a4d90bd0967f2d81858ef54cc47a425ea1df7a582856cfa75be3433f8b9a916ccea60247202d7629b21572db6ea8200bef21588523dc55bd97b3d3
Homepage: https://docs.npmjs.com/
Description-en: package manager for Node.js
Node.js is an event-based server-side javascript engine.
.
npm is the package manager for the Node JavaScript platform. It puts
modules in place so that node can find them, and manages dependency
conflicts intelligently.
.
It is extremely configurable to support a wide variety of use cases.
Most commonly, it is used to publish, discover, install, and develop
node programs.
Description-md5: 85ba8bf129c09297837a706dcf08eb1f