wget -O - https://get.hacs.xyz | bash -
bro, wget - O (alphabet O)… not number 0. I got the same error as well… but after checking it says unrecognized option… so the error is in the option. So I tried changing from the number 0 to alphabet O, and it worked.