Install
Put the ghostbranch binary on your machine, then check that it works.
Ghostbranch is a single program with nothing else to install. It runs on macOS, Windows and Linux, and it needs git 2.38 or later on your PATH.
Choose a route
Section titled “Choose a route”Pick whichever suits your machine. Each one installs the same binary.
Homebrew
Placeholder: the Homebrew tap isn’t published yet.
Scoop / winget
Placeholder: the Scoop bucket and winget package aren’t published yet.
npm
Placeholder: the npm package isn’t published yet.
Install script
Placeholder: the install script isn’t published yet.
Go
Works once the repository is public.
Check that it works
Section titled “Check that it works”First, ask for the version:
This one is a development build. A release prints its version number instead. The JSON contract is the version of the --json output that agents and scripts read.
Then run ghostbranch doctor. It checks your setup, names the fix for anything that’s wrong, and changes nothing. Right after you install, it looks like this:
Each line is one check. The mark in front says how it went:
| Mark | Meaning |
|---|---|
| check mark | Passed. |
| exclamation mark | A warning: things work, but read the message. |
| cross | Failed. The fix: line below it is the command that fixes it. |
– |
Skipped: there’s nothing to check yet. |
The token check fails because you haven’t logged in yet, and the next page fixes that. The pair, guard and CI checks wait until you set up a repo and run doctor inside it.
Updates, and no telemetry
Section titled “Updates, and no telemetry”Ghostbranch sends no telemetry. The one request it makes on its own is the update check. It asks GitHub whether a newer release is out: at most two anonymous requests, with no token and no IDs. It tells you when there is one, and it never downloads or installs anything itself.
Development builds skip the check, as the last line of doctor says. To turn it off in a release, set GHOSTBRANCH_NO_UPDATE_CHECK=1. CI turns it off by itself.