Microk8s Mac install broken with brew change to --cask

╰─$ brew install ubuntu/microk8s/microk8s 1 ↵
==> Installing microk8s from ubuntu/microk8s

╰─$ microk8s install 1 ↵
Support for ‘multipass’ needs to be set up. Would you like to do that it now? [y/N]: y
Updating Homebrew…
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 4 formulae.
==> Updated Casks
Updated 2 casks.

Error: Calling brew cask install is disabled! Use brew install [–cask] instead.
An error occurred with the instance when trying to start with ‘multipass’: Failed to install multipass using homebrew.
Verify your homebrew installation and try again.
Alternatively, manually install multipass by running ‘brew cask install multipass’…
Ensure that ‘multipass’ is setup correctly and try again.

╰─$ brew cask install multipass 1 ↵
Error: Calling brew cask install is disabled! Use brew install [–cask] instead.

╰─$ brew install microk8s --cask 1 ↵
Error: Cask ‘microk8s’ is unavailable: No Cask with this name exists.

It looks like you need to do the --cask install on “multipass”, the instructions need to be corrected from:

“brew cask install multipass”

to

“brew install multipass --cask”

To get past the errant instructions:

╰─$ brew install multipass --cask 1 ↵
==> Downloading https://github.com/CanonicalLtd/multipass/releases/download/v1.5.0/mult
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/11
######################################################################## 100.0%
==> Installing Cask multipass
==> Running installer for multipass; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
installer: Package name is multipass
installer: Installing at base path /
installer: The install was successful.
:beer: multipass was successfully installed!

╰─$ microk8s install. 1 ↵
… things work now…