Installing Home Assistant
Choose an installation type that suits your hardware and experience.
Home Assistant OS
Home Assistant Operating System is the recommended installation type for most users. It combines Home Assistant with system management and support for additional apps. It is preinstalled on suitable ready-to-use hardware.
Installing on your own hardware
You can also install Home Assistant OS on supported hardware you own or in a virtual machine. The procedure varies by system. You may need installation media, access to system settings and virtualisation knowledge.
Home Assistant Container
Container runs on a system you manage yourself, using Docker for example. You maintain the underlying environment and updates. This installation type has no built-in support for Home Assistant OS apps.
Which approach suits you?
Choose OS to keep management within one environment as much as possible. Container suits users who manage their own infrastructure. Always follow the current procedure for your hardware. Read more about initial setup.
Choose and prepare first
Check that your chosen computer is officially supported and that you use the correct installation guide. Consider power, storage and Ethernet too. A virtual machine requires a computer that stays available when your automations are needed.
Practical preparation
List what you want to connect before starting. Keep the first goal small, such as controlling a light. Preserve existing settings when switching and plan a quiet time for the change. A separate test avoids immediately making your whole home depend on a new setup.
Source: Home Assistant