Bun
Package Commands
Install and manage npm packages with Bun's ultra-fast package manager. Compatible with package.json and npm registry.
10 commands
Pro Tips
Bun installs packages 10-100x faster than npm or yarn.
Use 'bun pm cache rm' to clear the global package cache.
'bun add -d' adds dev dependencies, '-g' for global packages.
Common Mistakes
bun.lockb is binary format - use 'bun install --yarn' for yarn.lock if needed.
Some postinstall scripts may not run correctly - test after migration.