Prerequisite:
- QEMU 7.0 or later (Required, only if QEMU driver is used)
brew install lima
Homebrew formula is available here. Supports macOS and Linux.
sudo port install lima
nix-env -i lima
Nix file: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/lima/default.nix
Download the binary archive of Lima from https://github.com/lima-vm/lima/releases,
and extract it under /usr/local
(or somewhere else).
brew install jq
VERSION=$(curl -fsSL https://api.github.com/repos/lima-vm/lima/releases/latest | jq -r .tag_name)
curl -fsSL "https://github.com/lima-vm/lima/releases/download/${VERSION}/lima-${VERSION:1}-$(uname -s)-$(uname -m).tar.gz" | tar Cxzvm /usr/local
The source code can be found at https://github.com/lima-vm/lima.git
git clone https://github.com/lima-vm/lima.git
cd lima
make
make install
To change the build configuration, run make config
or make menuconfig
.
This requires kconfig tools installed, it is also possible to edit .config
.
The default configuration can be found in the file config.mk
(make syntax).
Kconfig tools
The tools are available as either “kconfig-frontends” or “kbuild-standalone”.
There is one conf
for the text, and one mconf
for the menu interface.
A python implementation is available at https://pypi.org/project/kconfiglib.
It can be installed with pip install --user kconfiglib
, including guiconfig
.