For Bun users
aube can install directly from Bun lockfiles. You do not need to delete bun.lock or remove node_modules before trying aube.
Try the Bun lockfile
aube installRun this from the project root, then review the lockfile diff and run your tests. For daily work, aubr build, aube test, and aube exec <bin> install automatically when dependencies are stale. Use aubx <pkg> for one-off tools.
aube reads and updates the text-format bun.lock at lockfileVersion: 1 in place and installs packages into node_modules/.aube/.
aube does not read Bun's older binary bun.lockb format. Projects still on bun.lockb can generate the text lockfile with a modern Bun once:
bun install --save-text-lockfileCommit the resulting bun.lock and drop bun.lockb before switching to aube.
Keep Bun working during rollout
Commit the updated bun.lock so both Bun and aube users see the same resolved versions. You do not need aube import for a normal rollout; aube install keeps bun.lock as the shared source of truth.
Use aube import only if the team intentionally wants to convert the project to aube-lock.yaml. The new aube-lock.yaml takes precedence on later installs. Retire the old lockfile once the team has switched, to avoid maintaining two sources of truth.
Differences from Bun
- aube keeps package files in a global content-addressable store.
- aube produces an isolated symlink layout under
node_modules/.aube/with a shared virtual store enabled for compatible local projects. - aube does not manage the Bun runtime, only Node (see Node runtime switching). Use mise (
mise use bun) if you still need Bun alongside aube. - Dependency lifecycle scripts (
preinstall,install,postinstall) are gated by an allowlist. aube reads Bun's top-leveltrustedDependenciesarray in addition to pnpm'spnpm.allowBuilds/pnpm.onlyBuiltDependencies, so an existing Bun manifest retains those approvals. Explicit aube deny rules still win. Install writes unreviewed packages intoaube-workspace.yaml'sallowBuildswithfalse(orpnpm-workspace.yamlif one already exists);aube approve-buildsflips reviewed entries totrue. Approved dependency builds can also run in a jail with package-specific env, path, and network permissions.
Reference: bun install
Next steps
See lifecycle scripts for build approvals, CI and containers for reproducible installs, and troubleshooting for compatibility problems.