macOS
Install Home Assistant Operating System
Follow this guide if you are already running a supported virtual machine hypervisor. If you are not familiar with virtual machines, install Home Assistant OS directly on Home Assistant Yellow, Raspberry Pi, or ODROID.
If VirtualBox is not supported on your Mac and you have experience using virtual machines, you can try running the Home Assistant Operating System on UTM.
Download the appropriate image
-
VirtualBox (Intel chip) (.vdi)
After downloading the image, extract it if necessary. For example, if it comes in a ZIP file, unzip it.
Create and configure the virtual machine
When creating the virtual machine, assign memory and CPU resources based on your expected workload. You can increase these resources later if your workload grows.
Minimum resources:
- Memory: 2 GB of RAM
- Processors: 2 vCPUs
To create the virtual machine, follow the instructions for the hypervisor you use:
Create the virtual machine
The following steps use VirtualBox Basic Mode, which provides a simplified wizard for creating and configuring a virtual machine.
- Open VirtualBox, and select New on the toolbar.
- In the Virtual machine name and operating system step, specify the following settings:
- Name: Enter Home Assistant.
- VM Folder: Select a location to store the virtual machine files.
- ISO Image: Leave blank.
- OS: Select Linux.
- OS Distribution: Select Oracle Linux (64-bit). If you use a Mac with Apple silicon (M1, M2, or M3), select ARM 64-bit instead.
- Select Next.
- In the Specify virtual hardware step, specify the following settings:
- Base Memory: Set to at least 2048 MB, which is 2 GB.
- Number of CPUs: Set to at least 2.
- Use EFI: Select the checkbox to use UEFI instead of legacy BIOS. Home Assistant requires UEFI to boot.
- Select Next.
- In the Summary step, review the settings and select Finish.
Attach the Home Assistant disk (VDI)
Configure the virtual machine to use the Home Assistant disk (VDI) that you downloaded and extracted earlier.
- Select your new Home Assistant VM in the list, and then select Settings on the toolbar.
- Go to the Storage section.
- In the Storage Devices list, under Controller: SATA, right-click the empty placeholder disk and select Remove attachment.
- Next to Controller: SATA, select the Add hard disk icon (the blue disk with a plus sign).
- In the dialog that appears, select the Add button.
- Find and select the downloaded
.vdifile. - Select Choose to confirm the file.
Configure network
- While still in the Settings window, go to the Network section.
- In Attached to, change the setting to Bridged Adapter.
- In Name, select the network adapter you use for internet access. Home Assistant uses this adapter to communicate with other devices on your network. If your computer uses Wi-Fi, select your Wi-Fi adapter. If it uses a wired connection, select your Ethernet adapter.
- Select OK.
Enable automatic disk space reclamation (optional)
VBoxManage storageattach <VM name> --storagectl "SATA" --port 0 --device 0 --nonrotational on --discard on
For more information about the command, see VBoxManage storageattach command.
Start up your virtual machine
- Start the virtual machine.
- Observe the boot process of the Home Assistant Operating System.
- Once completed, you will be able to reach Home Assistant on homeassistant.local:8123. If you 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 virtual machine’s IP address).
With the Home Assistant Operating System installed and accessible, you can continue with onboarding.