# Platforms and Limits

> Which hosts Barn runs on, which guests it supports, and the limits worth knowing before you plan a lab.

---

LLMS index: [llms.txt](/v1.5/llms.txt)

---

Check here whether Barn runs on your machine, which guest systems it can boot, and which limits might matter for your lab. Barn is built for local development and testing, not for hosting production services.

## Version covered {#documentation-baseline}

The platform tables below apply to **Barn 1.5.0**. Run `barn version` to check your installation. The Linux image catalog can change independently through `barn update`. See the [1.5.0 release notes](/v1.5/release/1.5.0/) and [version history of CLI options](../../reference/commands/#versions).

## Hosts {#hosts}

| Host | Linux guests | macOS guests |
|---|---|---|
| macOS on Apple Silicon | Yes — QEMU 8.2.1+ with HVF | Yes — macOS 27 or later on the host, `Barn.app` |
| macOS on Intel | Yes — QEMU 8.2.1+ with HVF | No |
| Linux on `amd64` or `arm64` | Yes — QEMU 6.2+ with KVM, NetworkManager or systemd-networkd | No |
| Windows | No native release; run Barn on a Linux host instead ([options](/v1.5/blog/design/windows-host-boundary/)) | No |
{.platform-table .wide .expand}

Release binaries cover all four macOS and Linux targets. Day-to-day testing on real hypervisors runs on Apple Silicon Macs and `amd64` Linux. `barn doctor` checks a host's readiness, and `barn setup --dry-run` shows what Barn would install.

## Linux guests {#linux-guests}

The built-in image catalog offers nine distribution families, each built for both CPU architectures unless noted. New labs in 1.5.0 default to Debian 13. On Barn 1.4.0, select it with `barn init -I d13`.

| Family | Name | Architectures | Notes |
|---|---|---|---|
| Debian 13 | `d13` | `amd64`, `arm64` | Default in 1.5.0 |
| Debian 12 | `d12` | `amd64`, `arm64` | |
| Ubuntu 26.04 LTS | `u26` | `amd64`, `arm64` | |
| Ubuntu 24.04 LTS | `u24` | `amd64`, `arm64` | |
| Ubuntu 22.04 LTS | `u22` | `amd64`, `arm64` | Deprecated |
| Rocky Linux 10 | `el10` | `amd64`, `arm64` | |
| Rocky Linux 9 | `el9` | `amd64`, `arm64` | |
| Rocky Linux 8 | `el8` | `amd64`, `arm64` | Deprecated; on Apple Silicon the `arm64` image runs under emulation, because its 64 KiB page kernel cannot run on HVF |
| CentOS 7 | `el7` | `amd64` | Deprecated, end of life; native `amd64` Linux hosts only |
{.wide .expand}

Deprecated images still run, for compatibility testing, but support for them is being phased out. Exact versions, aliases, and how the catalog is updated are in [Linux Images](../../reference/images/).

Limits:

- **One lab per user.** All nodes live on one private `/24`, so a lab can hold as many nodes as that subnet has addresses and your host has memory for.
- **One guest architecture per lab.** A guest of the other architecture runs under QEMU's TCG emulation. It works for compatibility testing but is much slower, so do not use it for performance numbers.
- **Host shares need 9p.** `vm_shares` mounts host directories over Virtio-9p, which needs 9p support in both QEMU and the guest kernel. Where that is missing, copy files over SSH instead ([Storage and Access](../../start/storage/)).
- **No snapshots or suspend.** `barn stop` shuts the guest down; `barn start` boots it again. Guest memory is not saved.

## macOS guests {#macos-guests}

`barn mac` needs an Apple Silicon Mac running macOS 27 or later, a logged-in desktop session, and `Barn.app` from the same release as the CLI. It does not use QEMU or the Linux lab's host network, and it does not need `sudo`. Guests run macOS 27. On a fresh installation, Barn 1.5.0 selects macOS 27.2.1 (`26B131`) by default. You can choose a compatible local IPSW or select a newer base with `barn mac image update`.

Limits:

- **Two running VMs per Mac.** Apple's framework allows at most two macOS VMs running at once, across all apps on the Mac, including a base image being installed. You can keep any number stopped.
- **Disk space.** The first VM needs about 65 GiB free for Apple's restore image and the base installation. [Details](../../start/macos/#requirements)
- **Framework features.** USB passthrough, VM snapshots, and suspend/resume are not available. macOS may restrict Apple Account sign-in inside a virtual machine.

Mac VMs are separate from the Linux lab: `barn status`, `barn destroy`, and `barn purge` never touch them. Use `barn mac ls` and `barn mac doctor` instead. [macOS VMs guide](../../start/macos/)

## Your data {#data-and-lifecycle}

Barn VMs are meant to be rebuilt. Root disks are replaced by `recreate` and deleted by `destroy`; only data disks marked `persistent: true` survive both. Keep anything you cannot regenerate on the host or in version control. [What survives each operation](../../start/storage/#what-survives-each-operation)
