The recommended way to install Home Assistant is to download the precompiled raspberry pi image. This is good for most users.
I still like to have Home Assistant installed on raspbian rather than hassio.
The Home Assistant way to do this is called a Supervised Install, link here
There are a few steps in setting this up, so I have created a script here
All you need to do is from a fresh installation of Raspbian/Raspberry Pi OS, run one of the following:
RASPBERRY PI 3
curl -sL https://bit.ly/2ykrpaM | HOMEASSISTANT_INSTALL_LOCATION=/home/pi/homeassistant RASPBERRYPI=raspberrypi3 sudo -E bash -
RASPBERRY PI 4
curl -sL https://bit.ly/2ykrpaM | HOMEASSISTANT_INSTALL_LOCATION=/home/pi/homeassistant RASPBERRYPI=raspberrypi4 sudo -E bash -
Here are some other valid values for RASPBERRYPI environment variable
The installation directory will be /home/pi/homeassistant.
After the script completes, give about 10-15 minutes for the Docker containers to come up. Go to http://localhost:8123 if your are on the Pi or http://IP_ADDRESS_OF_PI:8123 from another computer, replacing IP_ADDRESS_OF_PI with the IP address of computer.
Once you have done onboarding, ie create a user and logged into Home Assistant, have a poke around for 10 minutes, then REBOOT your pi (this is an important step). DNS issues go away (eg. map appears)