I get the error "Error: Installing casks is supported only on macOS" when executing chtf 1.1.6 whether in a zsh or bash shell on Linux Mint 20.3 Cinnamon
➜ ~ brew --version
Homebrew 3.4.3
Homebrew/homebrew-core (git revision 93ad38a33b3; last commit 2022-03-22)