Skip to content

Lima

Command-line tool that runs Linux VMs on macOS with file sharing and port forwarding

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

91

Health

Thriving

Overview

Stars

22,458

Last commit

today

Nov 2026

Repository age

5 years

since May 2021

Latest version

v2.3.0

Nov 2026

Contributors

–

16 active in 90 days

Releases

11

last 12 months

Language

Go

Lima launches Linux virtual machines with automatic file sharing and port forwarding, similar to WSL2. It started as a way to bring containerd and nerdctl to Mac users. It also works for non-container workloads. It is written in Go and licensed under Apache 2.0.

You install it with Homebrew on macOS, or with winget on Windows. After limactl start, you can run Linux commands with the lima command. Templates cover containerd, Docker and Kubernetes, so you can point the Docker client or kubectl at the VM. Hosts other than macOS, such as Linux and NetBSD, are also supported.

Other tools build on it, including Rancher Desktop, Colima, Finch and Podman Desktop. Community GUIs exist too, such as an xbar menu bar plugin and a Qt app. It is a CNCF incubating project. Releases include SBOMs in CycloneDX format.

Who it's for

Mac developers who need a local Linux environment

It gives you a Linux VM with shared files and forwarded ports from the command line.

Skip if: You prefer a graphical VM manager with no terminal use.

Developers running containers on macOS without Docker Desktop

Templates start containerd, Docker or Kubernetes inside the VM.

Skip if: Your team already standardizes on a commercial container desktop.

Tool builders embedding a VM layer

Projects like Colima and Rancher Desktop already build on it.

Skip if: You need a hosted service rather than a local tool.

The problem it solves

macOS does not run Linux containers or Linux-only tools natively. You need a Linux VM that shares your files and exposes ports without hand configuring a hypervisor.

Strengths

  • Automatic file sharing and port forwarding into the VM
  • Templates for containerd, Docker and Kubernetes
  • Used by Rancher Desktop, Colima, Finch and Podman Desktop
  • Active: 11 releases in the last year
  • CNCF incubating project under Apache 2.0

Trade-offs

  • Command-line first; GUIs are separate community projects
  • Runs on your own machine only, not a server product
  • Docker and Kubernetes setups need extra environment variable steps

Lima replaces

Self-host Lima

Self-hostable
No (desktop or local app)

Quick start

brew install lima
limactl start

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Lima free?

Yes. It is open source under Apache 2.0.

Which platforms does it run on?

macOS, Linux and NetBSD hosts, and Windows through winget installation.

Can I run Docker with it?

Yes. Start the Docker template and point DOCKER_HOST at the VM socket.

How do I install it?

On macOS use Homebrew.

Other Docker Desktop alternatives

Compare all 5 Docker Desktop alternatives →

Similar tools in Virtualization and server management

KubeVirt

Virtualization and server management

Kubernetes add-on for running and managing virtual machines through the Kubernetes API

7.2k 1.9k today Thriving Apache-2.0

Replaces VMware

windows

Virtualization and server management

Docker container that installs and runs Windows in a VM you reach from a web browser

54k 5.2k 2 months ago Active MIT

arcbox

Virtualization and server management

Fast container and VM runtime for Mac developers who want an open source Docker Desktop

4.2k 186 18 days ago Active Apache-2.0

Replaces DockerDocker Desktop

virt-manager

Virtualization and server management

Graphical manager for QEMU/KVM virtual machines on Linux desktops and servers

3.3k 551 3 months ago Slowing GPL-2.0

Replaces VMware

Cockpit Client

Virtualization and server management

Browser-based admin interface for Linux servers, with a Flatpak client for SSH

15k 1.4k today Thriving LGPL-2.1-or-later

quickemu

Virtualization and server management

Shell wrapper around QEMU that downloads and runs Windows, macOS and Linux VMs in two

17k 770 today Active MIT