Won't hurt to include the minimum system requirements needed, at least for OSX.
For example I'm still on Big Sur version 11.3, and I got the following when I tried to install via Brew
==> Downloading https://github.com/algolia/cli/releases/download/v1.2.0/algolia_
==> Downloading from https://objects.githubusercontent.com/github-production-rel
######################################################################## 100.0%
==> Installing algolia from algolia/algolia-cli
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.2.1
I don't think this issue is directly related to the Algolia CLI, it's more about Homebrew relying on the CommandLineTools and always want the latest version.
Won't hurt to include the minimum system requirements needed, at least for OSX.
For example I'm still on Big Sur version 11.3, and I got the following when I tried to install via Brew