Package managers
Package managers for JavaScript and Node.js — handling dependency installation, version resolution, and workspace management.
- npm — default package manager bundled with Node.js; the largest package registry in the world
- pnpm — fast, disk-efficient package manager using a content-addressable store and hard links to avoid duplicate installs
- Yarn — alternative to npm with workspaces, Plug’n’Play (zero-installs), and improved monorepo support
- Bun — all-in-one JavaScript runtime with a built-in package manager; significantly faster installs than npm/pnpm
- ni — unified CLI that auto-detects the project’s package manager (npm/yarn/pnpm/bun/deno) from lock files and translates commands like
ni,nr,nlxinto the right syntax