This guide takes a Mac from zero to a verified devkit setup, explains how to onboard another developer and how to share a handoff repository, and lists every file devkit touches. When devkit is installed, the tutorials show your first task on the app or terminal you use.
- A Mac with Apple silicon (M1 or later). To check, open About This Mac, which shows a chip named Apple M…, or
run
sysctl -n hw.optional.arm64, which prints1, also in a terminal that runs under Rosetta; an Intel Mac prints an error instead. devkit installs its tools with Homebrew, and Homebrew's installer no longer runs on Intel Macs, so a new install needs Apple silicon. The installer installs Homebrew if it is missing. devkit does not run on Linux or Windows. - An Intel Mac that already has Homebrew can still run devkit. Homebrew no longer supports Intel, so some tools may build slowly from source, and Homebrew plans to stop running on Intel in or after September 2027 (see Homebrew's support tiers).
- A GitHub account. devkit's repository,
fireflysoftwaresolutions/devkit, is public; your handoff repository stays private. - A Claude account for Claude Code, a ChatGPT account for Codex, or both.
This walk-through is for a first install on your own Mac, even if you have never used a terminal. It takes one command and a few presses of Return. Have your Mac's login password and your GitHub account at hand.
-
Open Terminal. Press Command-Space, type
Terminal, and press Return. A window with a text prompt opens. -
Paste the install command, then press Return:
curl -fsSL https://raw.githubusercontent.com/fireflysoftwaresolutions/devkit/main/install.sh | bashThe installer first lists its five steps, says that nothing has changed yet, and waits: press Return to start, or
Ctrl-Cto stop with nothing changed. Each step then showsN of 5and its name. On an Intel Mac without Homebrew, the first step stops and says why; nothing is changed. -
Homebrew, git, Python, and the GitHub CLI. If your Mac has no Homebrew yet, its installer asks for your Mac password: type it and press Return. Nothing appears while you type; that is normal. This step takes the longest of all, because it also installs Apple's command line tools. Each tool then shows a line with
✓. The output of git and Homebrew goes to~/.local/state/devkit/logs/install.log; the screen shows a line from it only when a step fails. -
devkit. The installer downloads devkit into
~/Development/fireflysoftwaresolutions/devkitand shows✓ Downloaded devkit …. -
GitHub sign-in. devkit keeps your project notes in a private GitHub repository, so it needs your GitHub account. Your browser opens GitHub: paste the one-time code the terminal shows, then choose Authorize (and your company's organization, when it is listed). If the sign-in does not finish, the installer says why and offers to try again; it never goes on without GitHub.
-
Your choices. A full-screen page shows what the wizard found on your Mac, with Recommended setup selected: press Return. It then asks Which coding agents do you want to use? The answers are Claude Code and Codex, Claude Code only, or Codex only, with the account each one needs. On a Mac with no projects yet, it then asks Stacks you work in, with Python and Node / TypeScript already selected. The review shows every answer: press a number from 1 to 8 to change a section, or Return to Apply.
-
Installing on its own. Each install step shows a spinner while it runs and
✓when it is done, for 10 to 20 minutes. These steps ask nothing, so you can leave the Mac.Ctrl-Cstops the step in front of you and asks whether to skip it, try it again, or stop the setup. -
Sign in to your agents. For each agent that is not signed in yet, a panel offers the ways to sign in, such as Sign in with the browser or Sign in with a code, and Skip for now. If a sign-in does not finish, the panel comes back with the reason and lets you try again.
-
The summary. The setup ends with
✓ devkit is ready.and the first three things to do, or with what is left for later and the one command that finishes each item. When a step devkit needs did not finish, it says✗ devkit is not ready yet.and lists that step first, under Needs attention, with its command. -
Open a new Terminal window (Command-N), so that the
devcommand works, and run:dev doctor
Every line should show
✓. A line with✗names the command that fixes it. -
Start your first project:
dev new my-app dcd my-app claude
dev newcreates the project folder,dcdgoes into it, andclaudestarts Claude Code there (runcodexfor Codex). Ask it for something small, and check that its reply starts with a bold[Firefly> DevKit]line, which shows that devkit is active. -
Follow the tutorial for where you work. Each one walks through a first task with devkit's crew and explains what you see. Pick Claude Code in Terminal or an IDE, Claude Desktop's Code tab, Codex CLI, or Codex in the ChatGPT app.
If a step fails, it says why, what that means for you, and the command that fixes it. Once devkit is downloaded, run
the installer again with ~/Development/fireflysoftwaresolutions/devkit/install.sh: finished steps are not repeated.
See Troubleshooting › Installing and updating.
# 1. The installer: prerequisites, the newest devkit release, GitHub sign-in, and the setup wizard
curl -fsSL https://raw.githubusercontent.com/fireflysoftwaresolutions/devkit/main/install.sh | bash
# 2. Load the shell integration and verify
exec zsh
dev doctorIn a terminal, the installer first lists its five steps and waits for Return: nothing on the Mac changes before that,
and Ctrl-C there stops it with nothing changed (exit code 1). With --yes, or without a terminal, it starts at
once. Each step then shows N of 5 and its name. git's and Homebrew's own output goes to
~/.local/state/devkit/logs/install.log, and the screen shows a line from it only when a step fails. When the setup
wizard has run, the installer adds nothing after the wizard's summary and exits with its code. It is safe to run
again. In order, it:
- Checks that the computer is a Mac, and stops on any other system before it changes anything. On an Intel Mac, it
goes on only when Homebrew is already there (on your
PATHor in/usr/local), with one warning line; otherwise it stops, says that a new install needs Apple silicon, and changes nothing. In a terminal that runs under Rosetta on Apple silicon, it stops too and asks you to open a native terminal. - Finds Homebrew in
/opt/homebrew(Apple silicon) or/usr/local(Intel), or installs it with Homebrew's official installer, which asks for your password. When Homebrew was not on yourPATH, it adds Homebrew'sshellenvline to~/.zprofile, as Homebrew's installer asks you to do, so new terminals findbrewand what it installs. - Installs git, Python, and the GitHub CLI with Homebrew when they are missing.
- Clones devkit into
~/Development/fireflysoftwaresolutions/devkitand checks out the newest release, the highestvYY.MM.PATCHtag. If devkit is already there at a release, it moves to the newest one; a checkout on a branch, with local changes, or at another commit stays as it is. A folder there that is not a git checkout is never changed. - Signs you in to GitHub with the browser (
gh auth loginover HTTPS, so it asks no technical questions), unless the GitHub CLI is signed in already. The sign-in waits up to 10 minutes. When it fails, you stop it, or the time runs out, the installer shows✗ You are not signed in to GitHub.with the reason, thenPress Enter to try again, or type q and press Enter to quit.Quitting exits with code2and runs no wizard. - Starts the setup wizard,
dev setup, which asks its questions in the terminal even though the installer arrived through a pipe. If a saved setup did not finish, the wizard opens on Pick up where you left off? instead. Itsdev installmakes the pinned copy that the hooks run.
| Exit code | Meaning |
|---|---|
0 |
devkit is ready; sign-ins may be left for later |
1 |
A required step failed, or you quit before anything changed |
2 |
Not signed in to GitHub |
130 |
Paused by you; run the installer again, or dev setup --resume, to continue |
To read the script before you run it, download it first:
curl -fsSL https://raw.githubusercontent.com/fireflysoftwaresolutions/devkit/main/install.sh -o install.sh
less install.sh
bash install.shPass options after bash -s --, and set variables for bash, not for curl:
curl -fsSL https://raw.githubusercontent.com/fireflysoftwaresolutions/devkit/main/install.sh | bash -s -- --yes
curl -fsSL https://raw.githubusercontent.com/fireflysoftwaresolutions/devkit/main/install.sh | DEVKIT_REF=v26.11.2 bash| Option or variable | Effect |
|---|---|
-y, --yes |
Start without waiting at the welcome, and accept every default in the setup wizard (the sign-in panels still ask). Without a terminal, the installer adds it for you; see The installer says there is no terminal |
--skip-packages |
Skip toolchain package installation for this run, including the installer's tools step. Bootstrap prerequisites and the chosen agents' own installers still run; saved requirements and doctor checks stay the same |
--no-setup |
Get devkit and its prerequisites, but do not sign in or run the wizard; run install.sh from the checkout later to finish |
-h, --help |
Print the usage, the options, and the variables |
| Any other option | Passed to dev setup |
DEVKIT_HOME |
Where devkit goes (default ~/Development/fireflysoftwaresolutions/devkit) |
DEVKIT_REPO |
The repository to clone, for example your fork (default https://github.com/fireflysoftwaresolutions/devkit.git) |
DEVKIT_REF |
A tag or branch to check out instead of the newest release |
GH_TOKEN |
A GitHub token, read by the GitHub CLI; signs in an install that has no terminal |
In CI or a provisioning script, nothing can answer questions, so the installer runs without them: it starts at once,
Homebrew's installer runs with NONINTERACTIVE=1 (it needs passwordless sudo then), and the wizard gets --yes.
The GitHub sign-in needs a person, or a GH_TOKEN: without either, the installer downloads devkit, skips the sign-in
and the wizard, says how to finish, and exits with code 2. The wizard skips the agents' sign-ins too: its summary
lists claude auth login and codex login under To finish, and it exits with 0 when every required step is
done.
When you run install.sh from a clone of devkit (./install.sh), it sets up that checkout as it is, on whatever
branch or commit it is: it does not clone, fetch, or switch anything. This is how you install a branch you are working
on (see Developing devkit). A commit that is not a release is pinned only after its tests passed on
this Mac, so run bin/dev ci --run in the clone first; the installer says so when the checkout is not at a release.
In an interactive terminal, dev setup is a full-screen wizard that you drive with the arrow keys. Nothing on the Mac changes until
you choose Apply on the review screen.
The setup has three parts: your choices at the start, about 10 to 20 minutes of installing that asks nothing, and the sign-ins at the end.
-
Welcome. The wizard looks at the Mac and lists what it found: macOS, CPU, memory, and Homebrew; your GitHub sign-in; whether Claude Code and Codex are installed and signed in; the stacks used by the repositories in
~/Development; the git hosts and clouds this Mac already shows; and Docker (Colima). Then choose Recommended setup, which asks which agents (and, when no stacks were found, which stacks) and goes to the review, or Customize, which walks through all eight sections. If GitHub is not signed in, the wizard offers to rungh auth loginfirst. -
Which agents. Claude Code and Codex, Claude Code only, or Codex only, with the account each one needs. The answer starts at the agents already signed in on this Mac, else both. Only the agents you choose are installed, set up, and signed in. Claude Code only does not require Codex; Codex only does not require Claude Code or its Desktop extension.
dev doctoruses the same selection, even if the other app or CLI is already on this Mac. -
Sections. Each question shows a progress bar (
Step 2 of 3 · Stacks). Every answer starts at the recommended or detected value, and the focused option shows what it means under it. -
Review. Each section on a numbered row, the packages to install, and how long installing takes (20 seconds a package, rounded up to 5 minutes). Press
1to8to open that section; you come back to the review after it, and a changed row shows in yellow with what it was. Choose Apply, Change a section, or Quit without changes. -
Applying your plan. These steps ask nothing: save
~/.config/devkit/config.json, install the Homebrew and npm packages, install Claude Code or Codex when chosen and missing, set up devkit (dev install, which pins devkit first), and start Docker when you chose that. -
Now you: sign in. An agent already signed in shows one line with its plan. Each other chosen agent gets a panel with Sign in with the browser, Sign in with a code (Codex), Sign in with your company's single sign-on or Sign in with an Anthropic Console account (Claude Code), and Skip for now. If you chose to lock Claude Code's settings, the wizard asks for your Mac password here. Then
dev doctorchecks the setup. -
The summary. It ends the setup in one of three ways:
✓ devkit is ready.with what was done and the first three things to do.✓ devkit is ready. 2 things are left for later.with each item left, its reason, and the command that finishes it underTo finish, open a new Terminal window, then run:.✗ devkit is not ready yet. 1 step failed.when a required step did not finish. Needs attention lists that step and the steps that wait for it, then what was done and what is left for later, with the commands. For a devkit bug, the summary also names the crash file to send to your devkit contact.
When something is left, a What now? menu follows. It offers Finish and, as they apply, Try Set up devkit again (a required step that failed), Sign in to Codex now (a skipped sign-in), or Try Start Docker again (an optional step that failed).
Saving your choices, setting up devkit, and installing each chosen agent are required: devkit cannot be ready
without them. The other steps are optional. A step that fails or is skipped stops only the steps that need it, which
show waits for <step>; every other step still runs.
- A failed step shows three lines:
Reason:(the error line the command wrote, or for a devkit bug, the error andBug report saved:with its file; never a banner or a version line),This means:(what you cannot do yet), andFix:(the one command that fixes or repeats it). Ctrl-Cduring an install step stops that step and offers Skip it and go on, Try it again, and Stop the setup here. A required step offers only the last two. A secondCtrl-Cstops the setup, which then saysSetup paused.and exits with code130.Ctrl-Cduring the questions asksQuit the setup?with Keep going selected; a secondCtrl-Cquits with nothing changed.- A sign-in runs on your terminal with a time limit: 10 minutes for the browser, 15 for a code.
Ctrl-C, an error, or the time limit stops that sign-in only, and its panel comes back with the reason, Try again, the other way to sign in, and Skip for now. A secondCtrl-Cright after a stopped sign-in still counts as stopping that sign-in. Any otherCtrl-Cduring the sign-ins pauses the setup: it saysSetup paused., namesdev setup --resume, and exits with code130.Escon the second agent's panel goes back to the first one's. In a remote session (SSH_CONNECTIONset), Codex's panel recommends the code. - Continue later. Your answers and each step's state are saved after every step in
~/.local/state/devkit/setup-run.json, readable only by you.dev setup --resume, plaindev setup, and the installer all open Pick up where you left off? with each step's state. Continue quickly checks the steps that are done (for packages,brew bundle check; for agents, that they are still installed or signed in), runs again any that no longer hold, then runs the rest. Saved choices whose install never finished (an earlier install failed after Save your choices) open the same screen, withYour choices were saved on <date>, but the install did not finish.;dev setup --resumecontinues them too, in the line prompts as well. Start over asks the questions again, starting with which agents to use. Answers you change on the review are saved, and Save your choices, Set up devkit, Lock Claude Code settings, and Check the setup run again with them.dev setup --resumewith nothing left saysNothing to continueand exits with0.
| Section | What you choose |
|---|---|
| Workspace | The development folder; the private handoff repository (<you>/handoff, or a shared one) |
| Agents | Claude Code and Codex, Claude Code only, or Codex only; Claude Code's permissions (no prompts, the recommended bypassPermissions; acceptEdits; default); Codex's autonomy (full, recommended, or workspace, sandboxed) |
| Stacks | Java, Python, PHP, Node and TypeScript; on a first run, the stacks found in your repositories are preselected |
| Frameworks | Angular, React, Next.js, NestJS, Spring Boot, Laravel, Symfony; the review shows the required runtimes |
| Git hosts and CI/CD | GitHub (always), GitLab, Bitbucket, Azure DevOps; on a first run, the ones this Mac already shows are preselected |
| Clouds | Providers include AWS, Microsoft Azure, Google Cloud, and DigitalOcean. Infrastructure choices include Kubernetes with Helm and OpenTofu or Terraform. Initial choices come from detected config folders and CLIs |
| Docker | VM CPUs, memory, and disk (checked against this Mac); start Colima at login? Start Docker when the setup ends? |
| Automation | Reclaim disk space automatically? Background sync interval; lock Claude Code settings with a managed-settings file? |
| Key | Action |
|---|---|
↑ ↓ (or j k, Tab) |
Move between options |
1–9 |
Jump to an option; on the review, 1–8 open that section |
Enter |
Choose, confirm, or keep the value shown |
Space |
Select or clear an option in a list with checkboxes |
a |
Select all options, or none, in a list with checkboxes |
y / n |
Answer a yes-or-no question at once; ← → switch the highlighted answer |
| Typing | Replaces the value shown in a text field; ← →, Backspace, and Ctrl-U edit it |
Esc |
Go back one question; on a section's first question, go to the previous section (or the review) |
Ctrl-C |
During the questions, asks before it quits; during a step, stops that step and asks what to do next |
Run dev setup again at any time. On a Mac that is already set up, where a whole dev install finished (it wrote
~/.local/state/devkit/config-installed.json and pinned a release that still holds up), it starts from your saved
choices, including empty selections, and offers Keep current setup. Discovery supplies defaults only when a
choice has not been saved; it does not add a detected host or cloud back after you removed it. The review marks each section
that would change and shows its old value. dev config repair, which the hooks run, only updates that install record
when it exists, so an install that stopped halfway never counts as set up. Applying an unchanged plan runs
dev install again, which repairs anything that drifted.
Turning an agent off removes devkit's rules, hooks, status line, skill links, MCP servers, and plugin from that agent,
and for Codex its profiles and agent roles; it keeps the agent and your own settings. It also takes out the no-prompt
modes devkit set. These are Claude Code's bypassPermissions mode and its skipped
warning, and Codex's approval_policy = "never", sandbox_mode = "danger-full-access", and the trust devkit gave
to the dev root and the projects it found. Each goes only while it still holds devkit's value, so a mode or a trust you chose
yourself stays, and the vendor's default returns. An MCP server goes only when it runs exactly what devkit's catalog
writes under that name. A config.toml or hooks.json linked from a dotfiles folder stays a link, and the file it
points to changes. Every file devkit deletes or rewrites is backed up first in ~/.local/state/devkit/backups, a
folder only you can open, each copy readable only by you. The review says all this before you apply, with the
command that removes the app if you want that too.
dev setup and dev install run for whoever calls them (you or an agent). An unavailable host permission, login,
or trust action remains visible in setup's summary; devkit cannot invent that approval. Each removal is audited
(dev audit --action install.remove-agent).
The full output of the steps is in ~/.local/state/devkit/logs/setup.log, readable only by you. Each run adds its
output at the end, under a line such as ──── dev setup · 2026-11-09 10:42:07 ────, so the newest run is last.
dev setup --preview draws every screen of the setup with sample data and changes nothing
(COLUMNS=60 dev setup --preview draws them 60 columns wide).
When the input or output is not a terminal (a pipe or a script), when TERM is dumb, or with --yes, the wizard
uses plain line prompts instead: each question shows its default in brackets, and Enter keeps it. --yes accepts
every default without asking; in a terminal, the sign-ins still ask, one line each
(Sign in to Codex: 1 browser, 2 code, 3 later [1]), because a sign-in has no default. When nothing can answer (the input
is not a terminal), the line prompts say so at the start and take every default, as with --yes. To get the line prompts in a
terminal, run TERM=dumb dev setup. With --yes, the stacks are your saved ones, else the ones found in your
projects, and otherwise Python and Node.
Ctrl-D at a line prompt is an answer, as Ctrl-C is at that prompt: at a sign-in or the settings lock it means
Skip for now, and at the summary's menu it means Finish. During the questions, before anything is applied, it
quits with Nothing changed. and exit code 1.
| Package group | Installed | Contents |
|---|---|---|
| core | always | git, gh, jq, ripgrep, fd, ast-grep, difftastic, git-cliff, fzf, Python, Node |
| docker | always | Colima, Lima, the Docker CLI, Compose, Buildx, the keychain credential helper |
| codex | when Codex is chosen | Codex, in its own setup step (brew install --cask codex) |
| claude | when Claude Code is chosen | Claude Code through its official installer when it is missing, in its own setup step |
| docs | always | Vale, lychee, markdownlint-cli2, the Manrope font |
| security | always | gitleaks, osv-scanner, Trivy, zizmor, Semgrep, Syft, cosign |
| python | with the Python stack | uv, pyright |
| node | with the Node stack | pnpm, TypeScript, typescript-language-server, the Playwright CLI (with its skills) |
| angular | with Angular selected; also with Node in a legacy setup | the Angular CLI |
| java | with the Java stack | OpenJDK, Maven, Gradle, jdtls |
| php | with the PHP stack | PHP, Composer, Intelephense |
| gitlab | with GitLab | glab |
| azure-devops | with Azure DevOps | the Azure CLI and its azure-devops extension |
| aws · azure · gcp · digitalocean | with that cloud | the AWS CLI · the Azure CLI · the Google Cloud CLI · doctl |
| kubernetes · terraform | with that tool | kubectl and Helm · OpenTofu |
The groups are marked # @group in the Brewfile and in
config/npm-globals.txt.
Frameworks are separate from language stacks. New setup saves detected frameworks or none. Existing installations without a framework setting keep their previous defaults until you customize Frameworks. A saved empty selection stays empty despite detection. Angular, React, Next.js, and NestJS require Node; Spring Boot requires Java; Laravel and Symfony require PHP. The review shows these requirements even when the runtime was not selected separately. Project framework libraries stay in the project. See Configuration › Frameworks.
dev doctor requires the base tools and the capabilities you selected. A missing selected tool is a failure; an
unselected stack, cloud, or agent is not. Selecting Kubernetes requires both kubectl and Helm, plus a configured
kubectl context. Optional skill groups follow skills.groups. Turning off automatic
package installation with packages.auto: false does not deselect tools: install the selected requirements
yourself. Docker's start-now and start-at-login choices control when the VM runs, not whether its base packages are
required.
Skipping packages once with --skip-packages also leaves selected requirements unchanged. The skip is not saved,
so a later ordinary install or update can install missing packages. In the text prompts, press Enter to keep a
selection or type none to clear it; the review shows the resulting choices before applying them.
dev install is idempotent: it changes only what differs. It first pins devkit (next section), then runs every step
below from that pinned copy, so every path the steps write names the copy, never the checkout. Each step can run alone
with dev install --only <step>, which re-applies it from the copy that is installed already, without pinning.
| Step | Effect |
|---|---|
config |
Creates ~/.config/devkit/config.json if it is missing, and the workspace folders |
tools |
Installs the Homebrew and npm packages that are missing for your stacks, git hosts, and clouds, and the Azure DevOps CLI extension (only reports them when packages.auto is off) |
cli |
Links ~/.local/bin/dev to the pinned copy and adds a managed block to ~/.zshrc that sources its shell/devkit.zsh |
git |
Sets user.name and user.email from your GitHub account, makes gh git's credential helper, includes the shared git defaults, and the global ignore file |
handoff |
Clones your handoff repository, or creates it as a private GitHub repository and pushes the first commit; writes the multi-machine merge rules |
instructions |
Generates ~/.claude/CLAUDE.md and ~/.codex/AGENTS.md from agents/AGENTS.md (plus your personal rules), for each agent that is turned on. For an agent turned off in dev setup, an install removes the file devkit generated and keeps one you wrote yourself, and dev config repair no longer counts that agent's missing file as drift |
skills |
Fetches third-party skills at pinned commits (your optional groups included) and links them into each agent that is turned on |
claude |
Merges settings, hooks, plugins, and MCP servers into Claude Code; reinstalls the devkit plugin when the installed copy is stale. When Claude Code is turned off in dev setup, an install removes what devkit wrote there instead: its CLAUDE.md, hooks, status line, skill links, MCP servers, and plugin, and the bypassPermissions mode and skipped warning while they hold devkit's value |
codex |
Configures Codex through its own app-server API, writes and trusts the hooks, writes the profiles and the scout role, installs plugins and MCP servers, reinstalls a stale devkit plugin. When Codex is turned off in dev setup, an install removes what devkit wrote there instead: its AGENTS.md, hooks, skill links, MCP servers in config.toml, profiles, agent roles, and plugin, and the no-approval and no-sandbox modes while they hold devkit's value; your own keys stay. Only the trust devkit gave (the dev root and the projects it found) goes; a trust you accepted in Codex for another folder stays. A config.toml or hooks.json linked from a dotfiles folder stays a link, and the file it points to changes |
desktop |
When Claude is selected and Claude Desktop is installed: builds the devkit extension for chat and Cowork and opens its installer when it is missing or out of date (choose Install); see Claude Desktop chat and Cowork |
docker |
Adds the Compose and Buildx plugin folder and the keychain credential store to ~/.docker/config.json; registers Colima at login if you chose that |
docs |
Checks markdownlint, lychee, and Vale, and syncs the Google and write-good Vale styles |
launchd |
Loads devkit's seven scheduled jobs, com.devkit.job.<name>: sync (hourly by default), sleep, gc, repair, audit, doctor and lessons (jobs and audit) |
prompt |
Keeps the prompt helper as you chose it: refreshes devkit's Starship block, or asks once when you have not answered yet (dev setup prompt) |
shell |
Keeps the zsh helpers as you chose them, or asks once when you have not answered yet (dev setup shell) |
Details are in Agents and Configuration.
Your agents' hooks run devkit's code around every command an agent runs. If they ran the checkout in
~/Development/fireflysoftwaresolutions/devkit, one broken or careless edit there would break the hooks of every
session at once. That is why dev install first makes a pinned copy: a read-only copy of the checkout's current commit in
~/.local/share/devkit/releases/<version>-<commit>/, with a list of the SHA-256 checksum of every file.
- What runs it. The hooks of Claude Code and Codex, devkit's status line, the
devcommand in your shell (~/.local/bin/dev), the scheduled jobs, and the Claude Desktop extension.~/.local/share/devkit/install.jsonrecords which copy is installed and which checkout it came from. - What it pins. Only a commit that has earned it: a release, a
vYY.MM.PATCHtag that GitHub has on the same commit (what the installer anddev updatecheck out), or a commit whose tests passed on this Mac (bin/dev ci --runin the checkout). Anything else is refused with the reason and the way forward. - What it refuses. Tracked files with changes that are not committed, because the copy is made from git and would not match what is on disk, and code that does not compile, because the hooks would then fail open.
- Installing anyway.
dev install --unverified --why "<reason>"pins a commit that is neither a release nor tested. The reason goes to the audit trail (dev audit). - Checked.
dev doctorfails when a file in the copy changed after it was pinned, or when a hook runs something other than the pinned copy, and names the fix.dev installrebuilds a changed copy from git. - Older copies retired. A session keeps the hooks it started with, so after an install it still runs an older
copy.
dev installretires the other copies: theirbin/devruns the installed release, so such a session runs it from its next hook. Rundevfrom the PATH, never from another release folder. - Rollback. devkit keeps the newest three copies, and any copy still in use. To go back to an earlier one, run
dev install --version 26.11.2(the version, or<version>-<commit>); it checks the copy against its checksums first and gives a retired copy its ownbin/devback.
The tutorials walk through a first task on each surface.
- Claude Code: run
claudeonce to sign in (the wizard offers it). Claude Desktop's Code tab reads the same~/.claudesettings, so it is configured too. - Codex: run
codexonce to sign in. The ChatGPT app's Codex reads the same~/.codexfiles. - Docker:
dev docker upcreates and starts the Colima VM the first time (see Docker). - A live check:
dev agents testruns a short real session with each agent and checks that the hooks, the status block, the global instructions, and the devkit skills all work.
Inside a devkit project, your prompt can show a small helper: the project's alias (the name dev status takes), the
crew members working, the checks of your branch, and a question that waits for you. Outside devkit projects it shows
nothing. This Mac's Starship prompt with the helper:
ana …/acme/lending-core release/26.11.3 ✦ devkit · 6 working ! 1 question for you ♥ 12:58
| Part | 100 columns and wider | Narrower | Shown while |
|---|---|---|---|
| The project | ✦ devkit |
✦ devkit |
You are in one of its checkouts or worktrees; an alias over 16 characters ends in … |
| The crew | · 6 working |
▸6 |
A member's heartbeat is newer than 15 minutes, in a run that reported in the last 30 minutes (the rule dev status uses) |
| The checks | · checks ✓, ✗ or … |
✓, ✗ or … |
Your branch has a run (passed, failed or running), and you are still on that branch |
| A question for you | ! 1 question for you |
!1 |
A crew decision waits for your answer; it goes the moment you answer |
When devkit has not refreshed the helper for 24 hours, only the project part stays. Without UTF-8 (LANG=C) the
glyphs become *, >, ok, x and ....
Add it with dev setup prompt, which asks once in a terminal and keeps your saved choices. The helper changes these
files:
- Starship: adds a marked block to
~/.config/starship.toml, after saving a copy in~/.local/state/devkit/backups/. It puts${env_var.DEVKIT_PROMPT}and${env_var.DEVKIT_PROMPT_ASK}into yourformatright after$git_status(or$git_branch, or first), and gives the helper the background of the module it follows. A theme without backgrounds gets amber text and a red question. - Plain zsh (none of the other prompts): turns on devkit's own zsh block in
shell/devkit.zsh, which puts the helper in front of yourPROMPT.~/.zshrcis not changed. WithNO_COLORset, the helper has no colors. oh-my-poshand Powerlevel10k: devkit sets the text; add the snippet for your theme, which follows.
dev prompt shows what the helper says in the folder you are in. dev setup prompt --remove takes it out again.
The block devkit adds to Starship's file:
# >>> devkit prompt (added by dev setup; dev setup prompt --remove takes it out) >>>
[env_var.DEVKIT_PROMPT]
variable = "DEVKIT_PROMPT"
style = "bg:#FCA17D fg:#10110F"
format = "[$env_value ]($style)"
[env_var.DEVKIT_PROMPT_ASK]
variable = "DEVKIT_PROMPT_ASK"
style = "bg:#C0392B fg:#F3F1EB bold"
format = "[ $env_value ]($style)"
# <<< devkit prompt <<<For oh-my-posh, add two text segments to a block of your theme, right after the git segment:
{
"type": "text",
"style": "plain",
"foreground": "#FFB34A",
"template": "{{ if .Env.DEVKIT_PROMPT }} {{ .Env.DEVKIT_PROMPT }} {{ end }}"
},
{
"type": "text",
"style": "plain",
"foreground": "#F3F1EB",
"background": "#C0392B",
"template": "{{ if .Env.DEVKIT_PROMPT_ASK }} {{ .Env.DEVKIT_PROMPT_ASK }} {{ end }}"
}For Powerlevel10k, add this function to ~/.p10k.zsh, then add devkit to POWERLEVEL9K_LEFT_PROMPT_ELEMENTS
right after vcs:
function prompt_devkit() {
[[ -n $DEVKIT_PROMPT ]] && p10k segment -f 215 -t "${DEVKIT_PROMPT//\%/%%}"
[[ -n $DEVKIT_PROMPT_ASK ]] && p10k segment -b red -f white -t "${DEVKIT_PROMPT_ASK//\%/%%}"
}What a prompt costs. Nothing runs when the prompt is drawn. devkit writes the helper's facts ahead of time to
~/.local/state/devkit/prompt/cache.zsh: the hooks refresh the folder's project after a tool call (at most every 5
seconds) and at once when you send a prompt, a turn ends, or a crew member starts or stops, so an answered question
or a member that finished shows in your next prompt; dev status, dev alias, dev prompt refresh, and
dev ci watch refresh it too. A refresh from a hook reads a few files and runs no git, network call, or other
program. A zsh function reads the cache with builtins only, never Python, git, or another program, and only when the
cache is a regular file of yours, not a link, in a folder of yours, and neither is writable by anyone else; only
digits from it become numbers. Measured on an Apple silicon Mac
with 40 projects of 3 checkouts each: 0.13 ms per prompt, and 1.7 ms for a prompt right after devkit rewrote the
cache. The budget is 5 ms, and a test holds it. DEVKIT_PROMPT and DEVKIT_PROMPT_ASK hold plain text, because Starship
and oh-my-posh escape a % for zsh themselves; the preceding snippets escape it for zsh and Powerlevel10k.
Tab completion works as soon as your shell sources shell/devkit.zsh (the cli step does that). Press
Tab after dev and zsh offers every command with a one-line description; after a command, its
subcommands, options and choices; and where an argument names something devkit knows, the live values:
$ dev task done <Tab>
T-fy3k2m9q1ab -- now · Fix the login timeout
T-fy3k2pa7c2d -- next (blocked) · Ship the beta
$ dev progress step --step <Tab>
design -- step 1 · done
api -- step 2 · running · Backend engineer (Tank)
$ dcd devkit <Tab>
feat/zsh-completions -- ~/Development/.worktrees/fireflysoftwaresolutions/devkit/feat-zsh-completions
The completion is generated from dev's own commands, so it never falls behind them. Projects, worktrees, work items,
plan steps, crew members, plans, and branches come from devkit's records; the full list is in
Commands › dev completion. A second Tab within 10 seconds costs
under a millisecond. A Tab waits at most 0.1 seconds for new values when it has older ones to show, and
0.5 seconds for the first values of a kind in a new shell; macOS's bash 3.2 counts only whole seconds, so it waits up
to 1 second. When devkit is slower than that, you get the last values, and the new ones on the next Tab.
In bash, add this line to ~/.bashrc:
eval "$(dev completion bash)"dcd and dwt move you around: dcd widget goes to a project by its alias, id, or part of its name, and
dcd widget login to its worktree for feat/login; dwt feat/login creates or reuses a managed worktree and goes
there.
The zsh helpers add fzf pickers and change how your shell behaves. Turn them on with dev setup shell. Saved
opt-out choices remain. With fzf installed:
| Keys or command | What it does |
|---|---|
| Ctrl+X i | Insert a work item's id, picked from the project you are in |
| Ctrl+X p | Insert a project's alias |
| Ctrl+X b | Insert a branch of the repository you are in |
dpick task (or project, branch, worktree, step, plan, member) |
Print one, picked with fzf: git switch "$(dpick branch)" |
dcd with no project |
Pick a project or worktree on this Mac and go there |
zsh's own completion system already uses Ctrl+X t, so the work item picker is on
i. A key you bound yourself keeps your binding. dev setup shell --remove turns the helpers off again;
completion, dcd, and dwt stay.
- Access. devkit's repository is public, so they need only a GitHub account. To share a team handoff repository, give them write access to it.
- Install. They follow Install on a new Mac with their own GitHub account.
- Choose the handoff repository. By default the wizard proposes a private
<their-login>/handoff. To work as a team on one shared handoff repository, they enter its name instead (see Teams and machines). - Personal rules (optional). Anything specific to them goes in
~/.config/devkit/AGENTS.personal.md, whichdev installappends to the generated instruction files. The shared rules inagents/AGENTS.mdstay the same for everyone. - Verify.
dev doctormust end with every check passing, anddev agents testshould pass for each agent they use.
A second Mac of your own is the same as another developer: install, and enter the same handoff repository.
dev doctor # every check ✓
dev # home: projects, live sessions, attention items
dev clone <owner>/<repo> # bring your repositories into the layout
dev adopt ~/somewhere/old-repo # move repositories that are not in the layout yet (close sessions in them first)
dev docker up # if you use containers or Testcontainers
dev overview # initiatives and projects at a glance
dev team # who is working on what, if you share a handoff repository
dev delivery # in each project: its release policy and gaps (dev delivery apply records one)
dcd <repo> && claude # or codex: the session starts with the context of the projectAsk the agent for a quick task in a repository and check that its final message starts with the status block, a bold
[Firefly> DevKit] header followed by Done, Check, and Next. That proves the global instructions are loaded (see
Concepts › The status block).
dev update --check # read-only: is a newer release out, and what changes in it
dev update # the newest release (or a pull of the branch), then dev install, which pins itdev update --check changes nothing: it shows the installed and the newest release, the CHANGELOG headings in
between, and whether the checkout and the pinned copy are behind. Agents may run it. A daily job runs it at 09:15, and
the first session of the day and dev status then name a pending release (see
Commands › dev update).
The installer leaves devkit at a release tag, so dev update follows releases: it fetches the tags and checks out the
newest release when it is newer, then runs dev install, which pins that release; when devkit is at the newest
release already, it says so and changes nothing. A checkout on a branch, which is how you work on devkit itself, gets
git pull --ff-only instead, and dev install pins the new commit only after bin/dev ci --run passes for it.
dev update refuses to start while tracked files have local changes. Running the installer again also moves a release
checkout to the newest release. Updating reapplies your saved agents, stacks, frameworks, hosts, clouds, optional skill groups,
and extension choices; it does not turn an omitted integration back on. To change those choices, run dev setup
yourself in Terminal, review the plan, and apply it.
If a new release misbehaves, dev install --version <previous version> switches the hooks back to the copy pinned
before it.
Prefer to run dev update and dev install yourself, in Terminal. They change what every hook runs, and running
sessions keep the old hooks until they restart. An agent can run them too; devkit does not stop it.
A Claude Code or Codex session reads its instructions and hooks when it starts, and keeps them until it ends. That
is why dev install and dev update, before they change anything, list the sessions that use devkit and still run,
and ask once in a terminal:
2 running sessions use devkit; restart each after this to load the new hooks (until then it keeps the old ones, which change no setting):
Claude Code · acme/billing (feat/invoice-export) · devkit 26.11.5 · session 3f9a1c2e · since 2026-11-07 09:12
Codex · acme/web · devkit 26.11.5 · session 7b2d04aa · since 2026-11-07 10:40
Go on? [Y/n]
Press Return to go on, or type n to stop with nothing changed; --yes goes on without asking. Then restart each
session on the list. Until you do, a session still on the older devkit leaves every setting devkit manages alone:
the agents' settings and hooks, CLAUDE.md, AGENTS.md, and the global git config stay as the new release wrote
them.
It tells you once to restart, and its background work (the sync, the CI watch, the repair) runs the new release (see
Work states › The install pin). To change the choices you made in the wizard, run
dev setup again.
devkit backs up every file it rewrites to ~/.local/state/devkit/backups/<name>.<timestamp> first (the newest 10 of
each).
| Path | Change | To undo |
|---|---|---|
~/.claude/settings.json |
Merged: permission mode, attribution, cleanupPeriodDays, env, devkit hooks, enabledPlugins, fastModePerSessionOptIn |
Restore a backup or remove the keys |
~/.claude/CLAUDE.md |
Generated (a hand-written file is backed up first) | Delete it |
~/.claude/skills/<name> |
Symlinks to devkit-managed skills | Delete the symlinks |
/Library/Application Support/ClaudeCode/managed-settings.d/50-devkit.json |
Only with dev config lock |
dev config unlock |
~/.codex/AGENTS.md |
Generated | Delete it |
~/.codex/hooks.json |
devkit's handlers merged with any others | Remove devkit's handlers |
~/.codex/config.toml |
Written through Codex's API: approval_policy, sandbox_mode, trusted projects, shell_environment_policy, agents.max_concurrent_threads_per_session, mcp_servers, hook trust state |
Restore a backup or edit it in Codex settings |
~/.codex/fast.config.toml, deep.config.toml, review.config.toml |
The Codex profiles | Delete them |
~/.codex/agents/scout.toml |
The scout agent role |
Delete it |
~/.agents/skills/<name> |
Symlinks (Codex's user skill folder) | Delete the symlinks |
~/Development/fireflysoftwaresolutions/devkit |
The devkit checkout (installer; DEVKIT_HOME chooses another folder) |
Delete the folder |
| Homebrew, git, Python, and the GitHub CLI | Installed by the installer when they are missing | brew uninstall git python gh; Homebrew's own uninstall script |
~/.zprofile |
One line, eval "$(/opt/homebrew/bin/brew shellenv)", added by the installer only when Homebrew was not on your PATH (Apple silicon) |
Delete the line |
~/.local/bin/dev |
Symlink to bin/dev in the pinned copy |
Delete it |
~/.zshrc |
The block between # >>> devkit >>> and # <<< devkit <<< |
Delete the block |
~/.config/starship.toml |
Only after you agree in dev setup prompt: the block between # >>> devkit prompt and # <<< devkit prompt <<<, and its two references in format |
dev setup prompt --remove |
~/.gitconfig |
user.name, user.email, include.path (shared defaults), core.excludesFile, the gh credential helper |
git config --global --unset … |
~/.docker/config.json |
cliPluginsExtraDirs, credsStore |
Remove the keys |
~/Library/LaunchAgents/com.devkit.job.*.plist |
The scheduled jobs | dev jobs lists them; for each, launchctl bootout gui/$UID/com.devkit.job.<name> and delete the file |
~/.config/devkit/ |
Your configuration and personal rules | Delete it |
~/.local/state/devkit/ |
Caches, locks, session records, runs and timing, the latest status per project, logs, the canary log, the dashboard, the dev rm manifest (trash.jsonl), backups |
Delete it |
~/.local/share/devkit/ |
Fetched third-party skills (skills-src/, skills/), the Vale styles, the pinned copies (releases/, read-only) with the record of the installed one (install.json), and the Claude Desktop extension bundle (desktop/) |
Run chmod -R u+w ~/.local/share/devkit, because the pinned copies are read-only, then delete it |
| The devkit extension in Claude Desktop | Installed when you choose Install | Remove it in Settings › Extensions |
| Claude Code and Codex plugins and MCP servers | Installed and enabled | claude plugin disable <name>, claude mcp remove -s user <name>, codex plugin remove <name> |
Uninstalling never deletes your repositories, the handoff repository or the workspace folders under ~/Development.
See also Concepts, Configuration, and Troubleshooting.