How do I install a card from Github without using HACS?

I am running HA in a Docker container on top of an RPI 5 running RPI OS.
I can’t seem to find a way to install HACS on an RPI5 running RPI OS and I tried to install HACS in the container using “wget -O - https://get.hacs.xyz | bash -” and it installed but won’t show up in HA even after a restart.

So how do I install a CARD on HA from Github? I download the ZIP from Github already (MAXWROC/Battery-state-card).
thank you!

From the card’s installation docs

if you see it in /config/custom_components , you need to reboot again, and then ‘add integration’ and search for HACS.

In your Home Assistant UI go to the Integrations panel

  1. First go to the “Settings” in the Home Assistant UI
  2. Then “Devices & Services” and the “Integrations” tab in the Home Assistant UI

Clear your browser cache

Before HACS can show up in the list you need to clear your browser cache or perform hard-refresh.

warning

You actually need to do this, don’t skip it.