Skip to main content
默认注册表是 registry.npmjs.org。要全局更改它,请在 bunfig.toml 中设置:
bunfig.toml
要配置针对特定组织的作用域私有注册表:
bunfig.toml

.npmrc

Bun 也会读取 .npmrc 文件。