Skip to main content
The default registry is registry.npmjs.org. Override it globally in bunfig.toml.
bunfig.toml

Your bunfig.toml can reference environment variables. Bun automatically loads environment variables from .env.local, .env.[NODE_ENV], and .env. See Environment variables.
bunfig.toml

See bun install.