The fastest way to install heyvm is the one-line installer:
curl -fsSL https://heyo.computer/install.sh | sh
The installer:
- Detects your OS and architecture (macOS on x86_64/aarch64, Linux on x86_64/aarch64/armv7) and downloads a prebuilt binary.
- Installs both
heyvmand, when available, theheyvmddaemon. - Falls back to building from source with
cargoif no prebuilt binary matches your platform. - Installs to
/usr/local/binwhen writable, otherwise to~/.local/bin(it printsPATHguidance when needed).
By default the installer also runs an interactive setup flow that detects which
virtualization backends are present on your machine and writes your chosen default
to ~/.heyo/settings.json (or $XDG_DATA_HOME/settings.json if set). You can
re-run it at any time without reinstalling:
curl -fsSL https://heyo.computer/install.sh | sh -s -- --setup
Pass --no-setup to skip it during install. --setup runs the setup flow only,
skipping the install itself. You can also change the default backend later from the
TUI's defaults screen.
Create your first sandbox
# Create a sandbox (uses your platform default backend)
heyvm create --name my-sandbox --image default
# List sandboxes
heyvm list
# Run a command inside one
heyvm exec <id> -- echo "hello from inside the sandbox"
# Open an interactive shell
heyvm sh <id>
# Tear it down
heyvm rm <id>
To force a specific backend, pass --backend (alias --backend-type):
heyvm create --name my-sandbox --backend firecracker --image default
See Virtualization Backends for the full list and how to choose between them.
Installer options
The installer reads a few environment variables and flags:
| Variable / flag | Purpose | Default |
|---|---|---|
HEYVM_INSTALL_VERSION / -v |
Version to install | latest |
HEYVM_INSTALL_DIR |
Install directory | auto |
HEYVM_INSTALL_BASE_URL |
Release artifact base URL | Heyo S3 bucket |
HEYVM_INSTALL_REPO |
Source repo for the cargo fallback | heyo-computer/heyo |
--no-setup |
Skip the setup flow during install | setup runs by default |
--setup |
Run the setup flow only (skip the install) |
Prefer building from source? See From Source.