Private registries can be configured using eitherDocumentation Index
Fetch the complete documentation index at: https://bun.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
.npmrc or bunfig.toml. While both are supported, we recommend using bunfig.toml for enhanced flexibility and Bun-specific options.
To configure a registry for a particular npm scope:
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.