Skip to content

Commit 1d74899

Browse files
authored
Document the Fizzy 3.x Homebrew upgrade path (#197)
* Document the Fizzy 3.x Homebrew upgrade path #194 replaced the stale Homebrew block but did not carry over upgrade instructions, so there is currently no guidance in this repo for users on the robzolkos/fizzy-cli tap. The order matters and is not obvious. A cask will not overwrite a bin/fizzy symlink owned by a formula, so installing the cask while the formula is still linked silently skips the binary; uninstalling the formula afterwards then leaves no fizzy on PATH at all. brew unlink first avoids that, mirroring what Homebrew's own automatic migration does (unlink, cleanup, install --cask). Also notes that brew migrate fizzy-cli, which Homebrew prints in its migration output, is a no-op for a formula-to-cask move. Retitles the section macOS and Linux, since the generated cask ships on_linux blocks for amd64 and arm64. * Clarify that Homebrew never auto-taps third-party taps Verified on Homebrew 6.0.13: a fully-qualified reference to an untapped third-party tap does not tap it. $ brew info robzolkos/fizzy-cli/fizzy-cli Error: No available formula or cask with the name "...". This command requires the tap robzolkos/fizzy-cli. If you trust this tap, tap it explicitly and then try again: brew tap robzolkos/fizzy-cli So the brew tap step is required, not optional. Reworded to say so explicitly for both the migration and direct-install cases.
1 parent ac3b30d commit 1d74899

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,26 @@ Use `fizzy doctor` any time you want a full health check of your install, config
4848
yay -S fizzy-cli
4949
```
5050

51-
**Homebrew (macOS):**
51+
**Homebrew (macOS and Linux):**
5252

5353
```bash
5454
brew install --cask basecamp/tap/fizzy
5555
```
5656

5757
Release candidates are not published to Homebrew; they are available from [Releases](https://github.com/basecamp/fizzy-cli/releases).
5858

59+
*Upgrading from Fizzy 3.x:* 3.x was the `fizzy-cli` formula in the `robzolkos/fizzy-cli` tap. `brew update` points that tap at this cask, but Homebrew never taps a third-party tap for you — not during migration, and not from a fully-qualified `brew install` — so run `brew tap` yourself first:
60+
61+
```bash
62+
brew tap basecamp/tap
63+
brew unlink fizzy-cli
64+
brew install --cask basecamp/tap/fizzy
65+
brew uninstall --formula --force fizzy-cli
66+
brew untap robzolkos/fizzy-cli
67+
```
68+
69+
`brew unlink` first is required: a cask will not overwrite a `bin/fizzy` symlink owned by the formula, so installing the cask while the formula is still linked skips the binary and the later uninstall leaves no `fizzy` on your PATH. Recover with `brew reinstall --cask fizzy`. Note also that `brew migrate fizzy-cli`, which Homebrew suggests, is a no-op for a formula-to-cask move.
70+
5971
**Scoop (Windows):**
6072
```bash
6173
scoop bucket add basecamp https://github.com/basecamp/homebrew-tap

0 commit comments

Comments
 (0)