While running the installer, please enable experimental support for pseduo consoles like in the screenshot:
All the other settings defaults are OK.
Install homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"