Getting Started
Based on Lima v2.1.x. Commands assume a macOS or Linux host with a hardware hypervisor available.
Prerequisites
- A macOS, Linux, NetBSD, or Windows host with virtualization support.
- Homebrew on macOS/Linux, or a release binary, or a Go toolchain (
go 1.25.x) to build from source.
Install
brew install limaOn Linux you can use the release binaries, or build from source with make. From a clone, make limactl produces the limactl and lima binaries; make native also builds the plugins, guestagent, and drivers.
A first working setup
Start the default instance. This downloads an image and boots a Linux VM, mounting your home directory read-only and forwarding ports automatically.
bashlimactl startOpen a shell inside the guest. The
limacommand is a wrapper aroundlimactl shell default.bashlima uname -aRun a container from the host using the bundled nerdctl wrapper.
bashnerdctl.lima run --rm hello-world
Verify it works
Check instance status from the host:
limactl listA healthy instance shows STATUS as Running with an SSH port assigned. To pick a backend explicitly, pass --vm-type, for example limactl start --vm-type=vz on macOS.
Where to go next
- Edit the per-instance config with
limactl edit; the file is~/.lima/<name>/lima.yamlfollowing theLimaYAMLschema. - See the Lima documentation for mounts, networking, drivers, and the YAML reference.
- Use templates under
templates/for other distributions or preconfigured setups.
Sources
- lima-vm/lima README (Homebrew install), accessed 2026-06-24.
- Lima documentation, accessed 2026-06-24.
- Lima source at commit
9a3f1c4, accessed 2026-06-24.