# Removing Blossom & backups

Blossom takes out everything it put on your Mac — the hooks in your agents included — and moves itself to the Trash.

## Uninstall

Quit Blossom, then run:

```sh
/Applications/Blossom.app/Contents/MacOS/Blossom --uninstall
```

It lists what it will remove and **removes nothing until you type `yes`**.

| It removes | How |
|---|---|
| **Its hooks** in the configuration of each agent | Taken out the way *Disconnect* takes them out, with a copy first |
| **Its module** in the agents that have no hooks | Deleted after a copy |
| **Its data** | Everything in `~/Library/Application Support/Blossom` |
| **Plugin tokens** | Its own items in the Keychain |
| **The login item** | Only if you turned it on |
| **The app** | Moved to the Trash |

## What it keeps

- **Backups.** The copies of your agents' hooks files stay in `~/Library/Application Support/Blossom/backups` unless you ask for them to go:

  ```sh
  /Applications/Blossom.app/Contents/MacOS/Blossom --uninstall --remove-backups
  ```

- **A file it cannot change safely.** Read-only, a link, shared with another installed Blossom, or not plain JSON or TOML: it is left as it is and named, so you take the hooks out by hand as the guide of that adapter says.
- **Worktrees it made.** They are your folders, and stay until you remove them from the notch or with git.
- **What Sparkle wrote.** The preferences, caches and HTTP storage of a release build that checked for updates. `brew uninstall --zap galfrevn/blossom/blossom` moves those to the Trash; `brew uninstall` alone removes only the app.

> [!TIP]
> **Nothing is lost silently.** Every file Blossom ever wrote into one of your agents has a copy from before that write, so *Disconnect* and `--uninstall` can both put the file back as it was.
