Install Npm On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora And Raspbian
npm
Maintainer: Debian Javascript Maintainers
Email: [email protected] .
Website: https://docs.npmjs.com/
Section: web
Install npm
-
Debian
apt-get install npmClick to copy -
Ubuntu
apt-get install npmClick to copy -
Alpine OS
apk add npmClick to copy -
Arch Linux
pacman -S npmClick to copy -
Kali Linux
apt-get install npmClick to copy -
Fedora
dnf install npm-1Click to copy -
Raspbian
apt-get install npmClick to copy
JavaScript and Node.js package manager. Manage Node.js projects and their module dependencies. Homepage: .
How to use npm?
Below are few example commands for npm that you can use in the terminal.
Download and install a module globally:npm install -g module_nameClick to copyDownload all dependencies referenced in package.json:npm installClick to copyDownload a given dependency required for the application to run, and add it to the package.json:npm install [email protected] --saveClick to copyDownload a given dependency for development purposes, and add it to the package.json:npm install [email protected] --save-devClick to copyUninstall a module:npm uninstall module_nameClick to copyList a tree of installed modules referenced in package.json:npm listClick to copyList top-level globally installed modules:npm list -g --depth=0Click to copyInteractively create a package.json file:npm initClick to copy
Install the latest version of npm in Debian, Ubuntu, Alpine, Arch, Kali, Fedora and Raspbian from terminal. To install the npm just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of npm from the respository and install it in your computer/server.




