npm Command Reference
npm package manager: dependency management, script execution, package publishing, and version control
Command List
- npm install , and
- npm run package.json command
- npm init New Node.js, package.json
- npm uninstall
- npm update New New
- npm ls
- npm outdated New
- npm ci lock, CI/CD
- npx npm command,
- npm publish npm
- npm version , New package.json git tag
- npm cache npm,
- npm config and npm, registry, proxy and more
- npm login npm,
- npm pack .tgz,
Common Scenarios
- npm install ? npm install,
- npm peer dependency ? npm install ERESOLVE unable to resolve dependency tree
- npm, yarn, pnpm ? Node.js,
Comparisons
- npm vs pnpm: ? npm, pnpm and