Getting started
What the installer changes
Every file the installer writes on your machine, and how to undo each one.
In an interactive install, Catalyst shows the proposed changes and asks you to confirm. Check the skills section of that plan if you have customized a skill with the same name.
What it installs
Section titled “What it installs”The catalyst command. Installed from npm as @catalyst-cloud/cli, the package that also provides the catalyst-skills name. Where it lands depends on your npm setup, commonly ~/.npm-global/bin/catalyst or /opt/homebrew/bin/catalyst.
If npm installed catalyst in more than one place, the installer keeps the copy in npm’s current global folder. It removes older copies that npm installed elsewhere and points their catalyst command at the kept copy, so a job that names that path keeps working. It leaves a copy that is newer, in use, or owned by another account, and says why.
The Catalyst skills. The installer sets up the Cloud and Dev packs for the coding agents it finds. A confirmed install can back up and replace a skill that has the same name as a bundled skill, including one you have edited. Automatic maintenance stops when it finds a conflict it cannot safely resolve. The skills packs explains the install locations and update commands.
Catalyst’s folders.
| Path | What it is |
|---|---|
~/catalyst/repos |
where your code checkouts live, laid out as <org>/<repo> |
~/catalyst/wt |
where new working copies (git worktrees) go |
~/.local/state/catalyst/logs |
install and CLI logs |
~/.local/state/catalyst/events |
event logs; the local event file appears here only if you turn on local sync |
~/.config/catalyst |
folder choices, in paths.json |
~/.cache/catalyst |
CLI cache |
~/.agents/skills |
the installed skills |
The folders it creates are recorded in ~/.config/catalyst/paths.json, and it only creates the ones that do not exist. If your code already sits somewhere else, it adopts your layout.
Your sign-in. Written to ~/.config/catalyst-cloud/customer.json with permissions 0600. It holds your login session, the cloud you are connected to, and the CLI’s own path. The workspace contract is cached beside it.
To sign in, the installer prints a short code and a URL on a *.authkit.app address (WorkOS, Catalyst’s sign-in provider). Open the URL yourself, type the code and approve. The browser does not open on its own. The code expires after five minutes. If it lapses, the installer offers a fresh one; if every code expires, run the install command again.
Automatic updates: one 15-minute release check. When the installed catalyst command has the release check, setup turns it on (dev.catalystcloud.release-check on macOS, catalyst-release-check.timer on Linux) and removes the installer’s older daily job. The check updates the CLI and Cloud skills to their approved releases. It also runs daily maintenance through ~/.local/state/catalyst/housekeeping.sh. That job refreshes Dev skills, using the Dev repository when the release lists no approved commit for that pack. It also checks for duplicate CLI installations and cleans up finished working copies and old event logs. On a computer whose catalyst predates the release check, setup writes today’s daily job instead (on macOS its output is in ~/.local/state/catalyst/housekeeping.log), and the next CLI update plus one run of the install command moves you over. You can turn automatic updates off at install time with --housekeeping no, which also removes a leftover daily job.
Daily jobs created by the current installer also check for updates to their own script. They verify a replacement before installing it and use the replacement on the next run. If verification or download fails, the job keeps its current script and tries again on a later run.
No background sync. The installer starts no replica, no event writer and no sync service, so a default install reads from the cloud. catalyst events reads the cloud from the CLI release after 0.14.7; in 0.14.7 and earlier those commands still need local sync. Its readiness check reports the replica as an optional note, never a failure. Local sync is an opt-in you turn on yourself, for ad hoc SQL or many local agents; see Local replica and watch. Start local sync with catalyst replica start --detach and check it with catalyst replica status --probe.
A runner, only if you choose one. By default this machine runs no Catalyst work. If you answer yes to “Run Catalyst’s work on this machine”, pass --runner to the installer, or run catalyst setup --runner, setup also writes ~/.local/state/catalyst/runner, pulls three Catalyst images, creates the Docker network catalyst-session-v1 and two Docker volumes, and starts the Compose project catalyst-host. Self-hosting lists each part and how to remove it.
Not touched. Your code, git settings, shell profile, and any skill that did not come from a Catalyst pack. macOS may show “Background Items Added” when the release check is registered. That is the whole message.
How to undo it
Section titled “How to undo it”One command removes what setup added:
curl -fsSL https://staging.catalystcloud.dev/install.sh | sh -s -- --uninstallIt reads setup’s record at ~/.local/state/catalyst/install/last-run.json, shows what it will remove, and asks once. It removes the daily update or release check, background sync, the skills setup added, the catalyst command if setup installed it, and the folders setup created that are still empty. It keeps your sign-in, your folder choices (~/.config/catalyst/paths.json), the local copy and setup’s record, so a later setup can reuse them. Add --purge to remove those too.
It removes only what that record lists. A skill you changed, a folder that holds your files, or anything setup did not create stays, and the command names each one it left. Older installs that setup deleted are listed as gone for good: setup kept no copy, so uninstall cannot bring them back. If background sync or the release check is on and the catalyst command no longer runs, uninstall leaves both, keeps the catalyst package, exits 12 and says what to run first.
A computer set up before setup kept this record has nothing for the command to read. Uninstall stops there and changes nothing; use the table below instead.
| What | How |
|---|---|
The catalyst command |
npm uninstall -g @catalyst-cloud/cli |
| A removed older copy | rm <folder>/bin/catalyst <folder>/bin/catalyst-skills, then npm install -g --prefix <folder> @catalyst-cloud/cli@<version> |
| One skill | npx skills remove <skill-name> -g -y (remove by name; never --all) |
| The release check (macOS) | catalyst update auto-update off |
| The release check (Linux) | catalyst update auto-update off |
| The daily job, on a computer whose catalyst command predates the release check (macOS) | launchctl bootout gui/$(id -u) ~/Library/LaunchAgents/dev.catalystcloud.housekeeping.plist and delete the file |
| The daily job, on a computer whose catalyst command predates the release check (Linux) | systemctl --user disable --now catalyst-housekeeping.timer and delete the files |
| The sign-in and caches | delete ~/.config/catalyst-cloud |
| A runner, if you set one up | remove it first, as Self-hosting shows, because its folder sits inside ~/.local/state/catalyst |
| The folders | delete ~/.config/catalyst, ~/.cache/catalyst, ~/.local/state/catalyst and, if you want, ~/catalyst |
~/catalyst/repos and ~/catalyst/wt hold your checkouts and working copies. Delete them only when nothing you need lives there.
For removing everything at once, including the cloud side, see Uninstalling in the FAQ.
Older installs
Section titled “Older installs”If this machine ran an earlier Catalyst runtime, the installer’s “Earlier Catalyst installs” block shows what this setup replaces, what it removes after you continue, and what it leaves alone. Setup leaves the earlier runtime’s services running, with one exception: a service that runs from the retired catalyst-dev Claude plugin. The block lists it under “Removed after you continue”, and setup removes it with that plugin. Setup does not stop, unload, or edit any other earlier service when you press Enter at every question or use --yes. When setup cannot confirm that HOME is your account’s real home, it removes none of them and lists them under “Left alone: setup does not stop, unload or edit these”. When HOME is confirmed but setup cannot check every earlier service, it still lists the retired catalyst-dev plugin service under “Removed after you continue” and removes it. It still does not stop, unload, or edit any other earlier service.
With local sync on, setup gives its new sync service a separate replica file when an earlier sync writer uses the old file. If it finds an earlier sync service, it asks “Stop the old sync service?” The default is No. --retire-legacy answers Yes without asking, after the new sync service is healthy; it needs local sync and your account’s real home. The earlier replica file stays in place.
You can inspect the earlier runtime’s items with:
catalyst legacyIt lists what it finds from a fixed list and removes nothing until you say yes. To remove the services left running by setup, run catalyst legacy --remove; it asks one question. Add --data only if you also want to delete the earlier runtime’s data folders. Current work is never on that list.