## Install Home Assistant Operating System {% assign release_url = "https://github.com/home-assistant/operating-system/releases/download" %} Follow this guide if you want to get started with Home Assistant easily or if you have little to no Linux experience {% if site.installation.types[page.installation_type].board %} {% if page.installation_type == 'raspberrypi' %} ### Suggested Hardware We will need a few things to get started with installing Home Assistant. Links below lead to Amazon US. If you’re not in the US, you should be able to find these items in web stores in your country. - [Power Supply](https://www.raspberrypi.org/help/faqs/#powerReqs) (at least 3A) - [Micro SD Card](https://amzn.to/2X0Z2di). Ideally get one that is [Application Class 2](https://www.sdcard.org/developers/overview/application/index.html) as they handle small I/O much more consistently than cards not optimized to host applications. A 32 GB or bigger card is recommended. - SD Card reader. This is already part of most laptops, but you can purchase a [standalone USB adapter](https://amzn.to/2WWxntY) if you don't have one. The brand doesn't matter, just pick the cheapest. - Ethernet cable. Home Assistant can work with Wi-Fi, but an Ethernet connection would be more reliable. {% endif %} ### Write the image to your installation media 1. Attach the installation media ({{site.installation.types[page.installation_type].installation_media}}) to your computer 2. Download and start Balena Etcher 3. Select "Flash from URL"  4. Get the URL for your {{site.installation.types[page.installation_type].board}}: {% if site.installation.types[page.installation_type].variants.size > 1 %} {% tabbed_block %} {% for variant in site.installation.types[page.installation_type].variants %} - title: {{ variant.name }} content: | ```text {{release_url}}/{{site.installation.versions.os}}/hassos_{{ variant.key }}-{{site.installation.versions.os}}.img.xz ``` {% if variant.key == "odroid-n2" %} [Guide: Flashing Odroid-N2 using OTG-USB](/hassio/flashing_n2_otg/) {% elsif variant.key == "rpi4" %} _(On the 8GB model 64-bit is recommended)_ {% endif %} {% endfor %} {% endtabbed_block %} {% else %} ```text {{release_url}}/{{site.installation.versions.os}}/hassos_{{ site.installation.types[page.installation_type].variants[0].key }}-{{site.installation.versions.os}}.img.xz ``` {% endif %} _Select and copy the URL or use the "copy" button that appear when you hover it._ 1. Paste the URL for your {{site.installation.types[page.installation_type].board}} into Balena Etcher and click "OK"  6. Balena Etcher will now download the image, when that is done click "Select target"  7. Select the {{site.installation.types[page.installation_type].installation_media}} you want to use for your {{site.installation.types[page.installation_type].board}}  8. Click on "Flash!" to start writing the image  9. When Balena Etcher is finished writing the image you will get this confirmation  ### Start up your {{site.installation.types[page.installation_type].board}} 1. Insert the installation media ({{site.installation.types[page.installation_type].installation_media}}) you just created 2. Attach a ethernet cable for network. 3. Attach a cable for power 4. Within a few minutes you will be able to reach Home Assistant on homeassistant.local:8123. If you are running an older Windows version or have a stricter network configuration, you might need to access Home Assistant at homeassistant:8123 or `http://X.X.X.X:8123` (replace X.X.X.X with your {{site.installation.types[page.installation_type].board}}’s IP address). {% else %} ### Download the appropriate image {% if page.installation_type == 'nuc' %} - [Intel NUC][intel-nuc] {% else %} - [VirtualBox][vdi] (.vdi) {% if page.installation_type == 'macos' %} - [KVM][qcow2] (.qcow2) {% endif %} {% if page.installation_type == 'windows' or page.installation_type == 'linux' %} - [KVM][qcow2] (.qcow2) - [Vmware Workstation][vmdk] (.vmdk) {% elsif page.installation_type == 'alternative' %} - [KVM/Proxmox][qcow2] (.qcow2) - [VMware ESXi/vSphere][Virtual Appliance] (.ova) {% elsif page.installation_type == 'windows' %} - [Hyper-V][vhdx] (.vhdx) {% endif %} {% endif %} {% if page.installation_type == "nuc" %} 1. Put the SD card in your card reader. 2. Open balenaEtcher, select the Home Assistant image and flash it to the SD card. 3. Unmount the SD card and remove it from your card reader. {% else %} ### Create the Virtual Machine Load the appliance image into your virtual machine software. (Note: You are free to assign as much resources as you wish to the VM, please assign enough based on your add-on needs) Minimum recommended assignments: - 2GB RAM - 32GB Storage - 2vCPU _All these can be extended if your usage calls for more resources._ ### Hypervisor specific configuration {% tabbed_block %} - title: VirtualBox content: | 1. Create a new virtual machine 2. Select “Other Linux (64Bit) 3. Select “Use an existing virtual hard disk file”, select the VDI file from above 4. Edit the “Settings” of the VM and go “System” then Motherboard and Enable EFI 5. Then “Network” “Adapter 1” Bridged and your adapter. - title: KVM content: | 1. Create a new virtual machine in `virt-manager` 2. Select “Import existing disk image”, provide the path to the QCOW2 image above 3. Choose “Generic Default” for the operating system 4. Check the box for “Customize configuration before install” 5. Select your bridge under “Network Selection” 6. Under customization select “Overview” -> “Firmware” -> “UEFI x86_64: …”.**** {% if page.installation_type == 'windows' or page.installation_type == 'linux' %} - title: Vmware Workstation content: | 1. Create a new virtual machine 2. Select “Custom”, make it compatible with the default of Workstation and ESX 3. Choose “I will install the operating system later”, select “Linux” -> “Other Linux 5.x or later kernel 64-bit” 4. Select “Use Bridged Networking” 5. Select “Use an existing virtual disk” and select the VMDK file above, After creation of VM go to “Settings” and “Options” then “Advanced” and select “Firmware type” to “UEFI”. {% elsif page.installation_type == 'alternative' %} - title: VMware ESXi/vSphere content: | Use the “E1001” or “E1001E” virtual network adapater. There are confirmed mDNS/Multicast discovery issues when using VMware’s “VMXnet3” virtual network adapter. {% elsif page.installation_type == 'windows' %} - title: Hyper-V content: |