Bun Package Manager
ELI5 — The Vibe Check
Bun's built-in package manager is the speed demon of the JavaScript world — it installs packages so fast it makes npm look like it's running through molasses. It's npm-compatible, reads your package.json and lock files, and just... goes really fast. The secret sauce is that it's written in Zig instead of JavaScript.
Real Talk
Bun includes a built-in npm-compatible package manager that leverages its Zig-based runtime for extreme performance. It supports package.json, node_modules, and can read npm/yarn lock files. It features global module caching, hardlinks for deduplication, and install speeds that are typically 10-30x faster than npm.
When You'll Hear This
"bun install finished in 0.3 seconds where npm took 25 seconds." / "Bun's package manager is a drop-in replacement — just run 'bun install' instead of 'npm install'."
Related Terms
Bun
Bun is the new kid on the JavaScript block who showed up and immediately started doing everything faster than Node.
npm
npm is like a vending machine for code. You say 'I want React' and it delivers React, plus React's 47 friends, plus their friends' friends.
Package Manager
A package manager is the app store for your code — it downloads libraries, manages versions, and makes sure everything plays nice together. It's like a gro
pnpm
pnpm is the Marie Kondo of package managers. Instead of copying lodash into every project, it stores one copy on disk and symlinks to it everywhere.