# Install the latest LTS version
$ brew install --cask temurin
But this command installs the latest release version, which may or may not be LTS. Currently, it's 22, which isn't. I believe the text comes from src/components/InstallTabs/MacOSPanel/index.tsx
You have to figure out what the latest LTS version is (21), and follow the instructions below that for "install a specific version". For example:
$ brew tap homebrew/cask-versions
$ brew install --cask temurin21
Also, the uninstall instructions have an error:
# Uninstall a specific version
$ brew uninstall --cask temurin
But this command only uninstalls the latest release version if you've installed that; otherwise, it givesError: Cask 'temurin' is not installed. If you've installed a specific version, e.g. temurin21, you need to use that, i.e. $ brew uninstall --cask temurin21.
Describe the bug The web page at https://adoptium.net/installation/ in the "macOS (Homebrew)" tab shows:
But this command installs the latest release version, which may or may not be LTS. Currently, it's 22, which isn't. I believe the text comes from src/components/InstallTabs/MacOSPanel/index.tsx
You have to figure out what the latest LTS version is (21), and follow the instructions below that for "install a specific version". For example:
Also, the uninstall instructions have an error:
But this command only uninstalls the latest release version if you've installed that; otherwise, it gives
Error: Cask 'temurin' is not installed.
If you've installed a specific version, e.g.temurin21
, you need to use that, i.e.$ brew uninstall --cask temurin21
.