# Installing Blossom

Blossom runs on a Mac with Apple silicon and macOS 14 or later; what follows is what it needs, how it updates itself and how to take it off the Mac.

![A box opened, a cherry branch rising out of it toward a laptop](/docs/installation.jpg)

## Requirements

| Item | What Blossom needs |
|---|---|
| **Mac** | Apple silicon |
| **macOS** | 14 Sonoma or later |
| **Signing** | ad hoc, not notarized |
| **Screen** | the built-in display with a notch; a screen without one gets a virtual notch |

> [!NOTE]
> Blossom ships without an Apple Developer ID, so macOS blocks the first launch of a copy you downloaded — with Homebrew too — and asks you to allow it once in System Settings. Updates never ask again. Why is in [decisions/signing.md](../decisions/signing.md).

## Updating

Blossom updates itself with [Sparkle](https://sparkle-project.org), installed with Homebrew too. Both controls are in **Settings → About**:

| Control | What it does |
|---|---|
| **Check for Updates…** | Looks for a new version at once. |
| **Check for updates automatically** | Off until you turn it on; then looks once a day. |

Every update is checked against a signature only the maintainer can make before it is installed. What a check sends, and to whom, is in [privacy.md](privacy.md#every-connection-it-can-make).

> [!WARNING]
> **Homebrew leaves updating to Sparkle.** `brew upgrade` skips Blossom, and `brew upgrade --greedy` replaces it with the version of the tap, which can be older than the one Sparkle installed.

## Removing it

Quit Blossom, then let it take out what it put on the Mac and move itself to the Trash:

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

**Nothing is removed until you type `yes`.** It lists everything first: its hooks in the configuration of each agent, the module it put in Pi, Oh My Pi, Gajae-Code, Amp and MiMoCode, its data in `~/Library/Application Support/Blossom`, the tokens of plugins in the Keychain, the login item and the app. A file it cannot change safely is left alone, and it says which.

> [!TIP]
> The copies of the hooks files it keeps in `backups` go too when you run `Blossom --uninstall --remove-backups`.

Installed with Homebrew, finish with:

```sh
brew uninstall --zap galfrevn/blossom/blossom
```

`--zap` also moves the folder of Blossom's data, the backups included, and what Sparkle wrote to the Trash; `brew uninstall` alone removes only the app. Everything it keeps, and where, is in [privacy.md](privacy.md#removing-it).
