Skip to main content
The default registry is registry.npmjs.org. This can be globally configured 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 Docs > Environment variables for more information.
bunfig.toml

See Docs > Package manager for complete documentation of Bun’s package manager.