bun install, add a bunfig.toml file to your project with the following contents:
Configure with bunfig.toml
ReplaceMY_SUBDOMAIN with your JFrog Artifactory subdomain, such as jarred1234, and MY_TOKEN with your base64-encoded username:password; Bun sends this value as-is in a Basic Authorization header. To authenticate with a JFrog access token instead, use _authToken= in place of _auth=; Bun sends that value as a Bearer token.
bunfig.toml
Configure with $NPM_CONFIG_REGISTRY
As with npm, you can set the NPM_CONFIG_REGISTRY environment variable to configure JFrog Artifactory for bun install.