From f0416016dc8f18e7930a0969de196f8973789425 Mon Sep 17 00:00:00 2001 From: Roy Date: Mon, 15 Jul 2024 06:10:26 -0700 Subject: [PATCH] chore: Updating docs for macOS Homebrew closes: https://github.com/wez/wezterm/pull/5815 closes: #5466 closes: #5805 closes: #5433 --- docs/install/macos.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/install/macos.md b/docs/install/macos.md index 98e99936c..526a1f350 100644 --- a/docs/install/macos.md +++ b/docs/install/macos.md @@ -33,16 +33,30 @@ $ brew install --cask wezterm If you'd like to use a nightly build: ```console -$ brew tap homebrew/cask-versions -$ brew install --cask wezterm-nightly +$ brew install --cask wezterm@nightly ``` +!!! note + For users who have previously used the cask named `wezterm-nightly`, + homebrew has started issuing warnings: `Warning: Cask + homebrew/cask-versions/wezterm-nightly was renamed to wezterm@nightly`. We + recommend that you use `brew uninstall wezterm-nightly` to uninstall the + previously installed version, and then reinstall the new version using the + command above. + to upgrade to a newer nightly (normal `brew upgrade` will not upgrade it!): ```console -$ brew upgrade --cask wezterm-nightly --no-quarantine --greedy-latest +$ brew upgrade --cask wezterm@nightly --no-quarantine --greedy-latest ``` +!!! note + The `--greedy-latest` option in Homebrew forces the latest version of a + formula to be installed, even if a version satisfying the formula's + requirements is already installed. This can be useful when you want to + ensure you have the most up-to-date version of a package, regardless of + whether an older version meets the current dependency requirements. + ## MacPorts WezTerm is also available via [MacPorts](https://ports.macports.org/port/wezterm/summary):