link

NPM

Node Package Manager commands for managing packages and dependencies

16 commands

Commands

16 commands available
Resources

Master NPM

Become proficient in package management

npm

Install Package

Install a package from the registry

npm install <package>
dependency
install
npm

Uninstall Package

Remove a package

npm uninstall <package>
dependency
remove
npm

Initialize Project

Create a package.json file

npm init
project
setup
npm

Run Script

Execute package scripts

npm run <script>
scripts
automation
npm

Update Packages

Update packages to latest versions

npm update
dependency
update
npm

Check Outdated Packages

Check for outdated packages

npm outdated
dependency
check
npm

Security Audit

Scan for vulnerabilities

npm audit
security
audit
npm

List Installed Packages

View installed dependencies

npm list
dependency
info
npm

Search Packages

Search npm registry

npm search <term>
registry
search
npm

Publish Package

Publish to npm registry

npm publish
publish
registry
npm

Login to Registry

Authenticate with npm

npm login
authentication
registry
npm

Link Package

Symlink a package folder

npm link
development
symlink
npm

Clean Install

Install with clean slate

npm ci
install
ci
npm

Execute Package Binaries

Run package binaries

npm exec <command>
execute
binaries
npm

Open Documentation

View package documentation

npm docs <package>
documentation
help
npm

Open Repository

View package repository

npm repo <package>
repository
github