zakwas

zakwas sets up a Mac from one YAML file. You list what the machine should have (dotfiles, Homebrew apps, CLI tool versions, macOS preferences, launchd jobs and the setup of your coding agents) and keep the file in a git repo. zakwas plan shows what would change, zakwas apply makes it so, and zakwas check tells you when the Mac drifted. It works on a fresh Mac and on the one you already use.
What it manages:
- files / templates: dotfiles as read-only copies, optionally immutable; edits go through the repo
- links: plain symlinks for configs apps must write themselves
- brew: apps and formulae from a
Brewfile, with optional cleanup
- mise: CLI tools pinned in a global mise config
- secrets: age and GPG private keys restored from Bitwarden, only when missing
- agents: Claude Code, opencode and, when named, Codex, Gemini CLI and Copilot CLI: plugins, MCP servers, instructions, skills, permissions
- defaults: macOS preferences
- system: Touch ID for sudo, directories, SSH key
- commands: guarded one-off steps (
run only while check fails)
- launchd: scheduled jobs as user agents
On Linux, the agents module, files, links, templates, secrets, commands and system dirs/sshKey work; the rest is macOS only. See Linux.

Zakwas is Polish for sourdough starter: keep it, feed it, and every new loaf comes out the same.
Who it is for
- Fits: you keep dotfiles in git and want apps, tool versions, macOS preferences and agent config declared in one place, with a plan before anything changes. You use several coding agents (Claude Code, Codex, opencode, Gemini CLI, Copilot CLI) and want their setup declared once. You want to know when a Mac drifted.
- Does not fit: Windows beyond the agent features and the portable core (see Windows), or Linux if you need Homebrew, mise or preferences managed (those modules are macOS only; see Linux). Many machines from a server (zakwas converges the Mac it runs on, as your user). Building packages (it hands that to Homebrew and mise; see Compared to). Storing secrets: keep them out of the config repo. The
secrets module only restores age and GPG keys from Bitwarden.
Status
- Pre-1.0. The config format can change between minor versions; check the release notes before upgrading. Machine-readable output carries its own
format_version.
- macOS first, Linux and Windows in part. Release binaries are darwin and linux (tar.gz) and windows (zip), arm64 and amd64. CI runs on macOS 26, Ubuntu and Windows; older macOS versions are not tested. See Linux and Windows for what works there.
- One maintainer. Issues and PRs get answered when there is time; see .github/SUPPORT.md.
- Not notarized.
install.sh and zakwas self-update verify checksums, and build provenance when a logged-in gh is available.
If something breaks on first use, start with docs/troubleshooting.md.
Try it in two minutes
Nothing on your Mac changes until the last command, and that one shows its plan and asks first.
git clone https://github.com/Automaat/zakwas.git && cd zakwas
./install.sh --dir examples --no-apply # installs only zakwas, to ~/.local/bin
export PATH="$HOME/.local/bin:$PATH"
zakwas init ~/dotfiles --add ~/.zshrc # writes a starter repo in ~/dotfiles, nothing else
cd ~/dotfiles && zakwas plan # read-only
zakwas apply --only files # confirm, then ~/.zshrc and a mise config are installed