Update bakers.build
Move a workstation to a newer bakers.build release: the CLI first, then your configuration files, then the shared project files.
You need: npm and permission to install global packages, your usual connection signed in, and for shared files a project checkout where you can open a branch.
AI first
text
Check my CLI and bakers skills versions. Guide their updates using
https://bakers.build/configuration/guides/update-bakers-build. Preview configuration
migration with --dry-run and show the effects before applying it.
Use bb-init-project for shared project files in a branch.Refresh skills separately from the CLI. They guide the update but do not replace your tools automatically. The exact CLI/configuration sequence follows.
Manual sequence and background
Record where you start, then update the CLI:
shbakers --version bakers update bakers --versionbakers updaterunsnpm install -g @bakers-build/bakers@latestand prints<before> → <after>. To pin a release instead, runnpm install -g @bakers-build/bakers@<version>. An interactivebakers conductor startcan run that install and the all-scope migration for you: Enter accepts, then the same start continues on the new release;ncontinues on the current release. Failures stop this start and leave a running conductor untouched. A conductor that is already running notices the new installed version on its own, whatever installed it, and migrates and restarts itself (see Restart after an upgrade).bakers ui, foreground, CI and non-TTY starts only print a notice.--no-update-checkskips the lookup. Manual update and the dry-run path below still work.Preview the configuration migration. Add
--connection <id>if you use a named connection.shbakers config upgrade --scope all --dry-runThe preview parses your files without running them and writes nothing. It shows each file's schema change and a redacted diff. Resolve blocking findings first: computed values it cannot move, conflicting destinations, or a future schema version. The upgrade does not rename old file or key names: an old key fails as an unknown key, and an old file name is not read. Rename them by hand, using the field tables of the connection, machine and project files.
Apply it, check it, and confirm nothing is left:
shbakers config upgrade --scope all bakers config check --scope all --online bakers config upgrade --scope all --dry-runApply rechecks the files, writes a private backup
<file>.bakers.baknext to each changed file, and replaces the file atomically. Do not commit the backups. The last preview must show no change. An offlineokproves only the file shape;--onlineproves sign-in and project access, and "online skipped" is not a pass.Update the shared project files in a branch, never on the default branch. Ask your AI to run the
bb-init-projectskill, which keeps the repository'sWORKFLOW.mdpolicy, moves an old## Loaded skillslayout to the entry line and phase sections, and confirms that every skill the file names is installed. Review the diff.Run a small test ticket in a disposable project, then submit the branch for review. Teammates update their own tools; your merge does not do it for them.
A server update is an operator task: follow Server.
Done when: bakers --version shows the release you meant to install, the final dry run reports no change, the online check passes, and a small test ticket runs as expected.
Who updates what
| Layer | Owner | Step |
|---|---|---|
| CLI | Each user | 1 |
| Machine and connection files | The machine owner | 2 and 3 |
| Shared project files | A project developer, through review | 4 |
| Server | The operator | 5 |
Updating the CLI alone deploys nothing and migrates neither the project nor, without a running conductor, your files. Automatic migration from an accepted start prompt uses the same all-scope planner, may touch selected project files, keeps backups and conflict protections, and deploys nothing. The cache is ~/.bakers/update-check.json (or $BAKERS_HOME/update-check.json); a decline lasts until that original check expires, not until 24 hours after you answer. A failed cache write is reported and does not claim suppression. Enter accepts; EOF or Ctrl-C cancels without installing or declining. A source checkout or PATH shim may still run source after a global install. Keep the failing command, its key and the file path when you ask for help, and never paste secret values.