# macOS support

Contents

- Installation

- Running libvirtd locally

Libvirt works both as client (for most drivers) and server (for the QEMU driver) on macOS.

Since 8.1.0, the "hvf" domain type can be used to run hardware-accelerated VMs on macOS via Hypervisor.framework. QEMU version 2.12 or newer is needed for this to work.

## Installation

libvirt client (virsh), server (libvirtd) and development headers can be installed from Homebrew:

    brew install libvirt

## Running libvirtd locally

The server can be started manually:

    $ libvirtd

or on system boot:

    $ brew services start libvirt

Once started, you can use virsh as you would on Linux.