How to Install and Uninstall npm Package on Debian 11 (Bullseye)

Last updated: November 21,2024

1. Install "npm" package

Here is a brief guide to show you how to install npm on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install npm

2. Uninstall "npm" package

This guide covers the steps necessary to uninstall npm on Debian 11 (Bullseye):

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

3. Information about the npm package on Debian 11 (Bullseye)

Package: npm
Version: 7.5.2+ds-2
Installed-Size: 2440
Maintainer: Debian Javascript Maintainers
Architecture: all
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
Description: package manager for Node.js
Description-md5: 85ba8bf129c09297837a706dcf08eb1f
Homepage: https://docs.npmjs.com/
Section: web
Priority: optional
Filename: pool/main/n/npm/npm_7.5.2+ds-2_all.deb
Size: 800588
MD5sum: 66c271526ab804c1d9937cdd9b820159
SHA256: 703fac63fe8d4f93f338d072eaa409e85a5f6504ab3f80c4ccf21065d2bcf221