Lima v2.1 发布:支持macOS虚拟机和增强AI Agent安全性
Source: CNCF
Following our expansion into AI workflows in v2.0, Lima v2.1 introduces highly anticipated experimental support for macOS and FreeBSD guests and further hardens local environments against unpredictable AI agents.
What is Lima ?
Lima (Linux Machines) is a command-line tool to launch local virtual machines. Originally focused on running containers on a laptop and promoting containerd to Mac users, Lima joined the CNCF as a Sandbox project in September 2022 and was promoted to Incubating in October 2025. Today, Lima supports a wide variety of non-container workloads, non-macOS hosts, and robust AI sandboxing.
If you are using Homebrew, Lima can be installed using:
brew install lima
For other installation methods, see https://lima-vm.io/docs/installation/.
Updates in v2.1
macOS guests (experimental)
One of the most requested features is finally here: Lima now experimentally supports running macOS guests using the `vz` driver on macOS. This expands Lima’s utility beyond Linux virtual machines, allowing developers to easily spin up isolated macOS environments for testing, building, or running platform-specific workloads.
To create and start a macOS guest, simply run:
limactl start template:macos
The user password is randomly generated and stored in the `~/password file` in the VM. Consider changing it after the first login:
limactl shell macos cat /Users/${USER}.guest/password
