sudo -i
apt-get update
apt-get upgrade
apt-get install -y software-properties-common apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
systemctl disable ModemManager
systemctl stop ModemManager
curl -fsSL get.docker.com | sh
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh” | bash -s -- -m raspberrypi4
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh” | bash -s -- -m raspberrypi4 -d /home/pi/hassio
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh” | bash -s — -m raspberrypi4 -d /home/pi/hassio