Install HACS manually

I have been unable to install any API in the Home Assistant portal or manually.

I am trying to run this script to manually install HACS "wget -q -O - https://get.hacs.xyz | bash -
"Where do I run it?

Thank you. That got me started and I was able to get HACS installed.