Guides
Install Barn, boot your first Linux or macOS VM, then run, change, and script your lab.
less than a minute
Task-by-task guides, roughly in the order you will need them. Linux labs and macOS VMs can run side by side on the same Apple Silicon Mac; each is managed on its own.
Get started
- Install Barn — Homebrew, installer script, or DEB/RPM; host requirements and upgrades.
- Linux Quick Start — Boot a Debian 13 VM, log in, and grow it into a four-node fixed-IP lab.
- macOS VMs — Create a macOS machine on Apple Silicon with a desktop, SSH, shared folders, and clipboard.
Run a Linux lab
- Daily Operations — Check status, stop and start nodes, and apply inventory changes safely.
- Storage and Access — Add data disks that survive rebuilds, copy files, and reach guest services.
- Images — Choose Ubuntu, Debian, or Rocky Linux, use the China mirror, or bring your own
qcow2. - Automation — Drive Barn from scripts, CI, or AI agents, and pair it with Pigsty.
- Use Barn with an AI agent — Give a coding agent the Barn skill and specify the lab you need.
Fix, build, and remove
- Troubleshooting — Symptoms, checks, and fixes for setup, networking, SSH, and images.
- Build from Source — Build the CLI and
Barn.appyourself to try unreleased changes. - Uninstall — Remove VMs, cached images, the host network, and Barn itself.