Skip to content

Installation

Prerequisites

sandbar itself runs on macOS or Linux. What else you need depends on where you want the VMs to run.

To run VMs on this machine (the default), you need Lima and a working hypervisor. macOS has a hypervisor built in; on Linux, Lima needs QEMU/KVM — see the Lima installation docs if limactl doesn't already work on your machine. You don't need to install Lima separately: Homebrew pulls it in as a dependency of the sandbar formula below.

To run VMs somewhere else, this machine needs nothing but sandbar:

  • On another machine over SSH, Lima and the hypervisor live on that machine instead, and you need passwordless SSH to it.
  • On a Proxmox VE host, no Lima is involved at all — sandbar talks to the Proxmox API over HTTPS. The host needs a one-time token and pool setup.

Either way, add the machine as a Connection Profile once and sandbar uses it from then on.

Install sandbar

sandbar ships as a prebuilt Homebrew formula (not a cask — deliberately, so the same install works on both macOS and Linux) from the lullabot/homebrew-sandbar tap:

brew install lullabot/sandbar/sandbar

That taps the repository and installs the formula in one step.

The command was previously named sand. For the next few releases, packages include a sand → sandbar compatibility symlink. Invoking sand prints a deprecation warning to stderr; existing scripts continue to work, but should switch to sandbar. Existing VMs, profiles, secrets, and state paths are retained.

If you installed the old Homebrew formula, replace it with the new one:

brew uninstall sand
brew install lullabot/sandbar/sandbar

For a release archive, extract both sandbar and its sand symlink into the same directory on your PATH.

Verify it worked

sandbar version

Upgrading and removing

brew upgrade sandbar
brew uninstall sandbar   # does not delete your VMs

Uninstalling leaves every VM where it is. Delete the ones you don't want first — press d on a tile in the board, or, for a local VM, run limactl delete <name>.