File SystemPackage Manager
Override the default npm registry for bun install
The default registry is registry.npmjs.org . Override it globally in bunfig.toml .
Configuring a monorepo using workspaces
Bun's package manager supports npm "workspaces" . Workspaces split a codebase into distinct packages that live in the same repository, can depend on each other,
Configure a private registry for an organization scope with bun install
You can configure private registries in .npmrc or bunfig.toml . Both work; we recommend bunfig.toml for its Bun-specific options.