# lima を Homebrew, apk, MacPorts, Nix, zypper, scoop, winget でインストール

lima のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:lima
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install lima
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lima
```

  証拠: MacPorts ports tree: sysutils/lima/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lima
```

  証拠: Alpine Linux edge package indexes: lima from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#lima
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/lima/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install lima
```

  証拠: openSUSE Tumbleweed package metadata: lima from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/lima
```

  証拠: Scoop official bucket manifest trees: bucket/lima.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Lima.Lima -e
```

  証拠: Windows Package Manager source index: Lima.Lima from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:lima
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.2.0
- **ソース概要:** Linux virtual machines
- **ホームページ:** <https://lima-vm.io/>
- **リポジトリ:** <https://github.com/lima-vm/lima>
- **最終更新:** 2026-07-21T16:32:32Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- apptainer.lima (エイリアス)
- docker.lima (エイリアス)
- kubectl.lima (エイリアス)
- lima (エイリアス)
- limactl (エイリアス)
- nerdctl.lima (エイリアス)
- podman.lima (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.2.0
## プロジェクトの歴史と使われ方

Lima, short for Linux Machines, is a command-line tool for running Linux virtual machines with automatic file sharing and port forwarding. It is best known in the macOS developer ecosystem as the low-level VM layer behind container workflows that need a real Linux guest.

### プロジェクトの歴史

The Lima documentation says the project began in May 2021 to promote containerd and nerdctl to Mac users. Its first GitHub release, v0.1.0, was published in May 2021 and demonstrated a minimal workflow of starting a VM with limactl and running Linux commands through lima.

The project quickly broadened beyond its original containerd focus. Its README describes support for other container engines such as Docker, Podman, and Kubernetes, non-container workloads, and hosts beyond macOS including Linux and NetBSD.

### 採用の歴史

Lima gained adoption as developers looked for open, scriptable alternatives to heavier desktop container products on macOS, especially after Apple Silicon made VM architecture and filesystem integration more visible in local development. Projects such as Colima and Rancher Desktop used Lima as a building block for friendlier container and Kubernetes experiences.

Lima joined the Cloud Native Computing Foundation as a Sandbox project in September 2022 and was promoted to Incubating in October 2025, reflecting its role as shared infrastructure for cloud-native local development.

### 使われ方

Users create or start named instances with limactl, then run commands inside the guest via the lima wrapper or connect container tools to sockets exposed by the VM. Templates cover common setups such as containerd, Docker, Podman, Kubernetes, and Apptainer.

### パッケージ好きにとっての重要性

Lima is package-nerd significant because it turns a pile of VM details into a package-manager-friendly CLI. Its Homebrew formula gives macOS users a reproducible way to get Linux containers, port forwarding, file sharing, QEMU or native virtualization choices, and YAML-controlled instances without installing a full GUI product.

### タイムライン

- 2021-05: Lima began with the goal of promoting containerd and nerdctl to Mac users.
- 2021-05-14: The v0.1.0 release was published as the first public release.
- 2022-09: Lima joined CNCF as a Sandbox project.
- 2025-10: Lima was promoted to CNCF Incubating.

### Related projects

- Lima is related to containerd, nerdctl, QEMU, Apple's virtualization stack, Docker, Podman, Kubernetes, Colima, and Rancher Desktop. Its positioning is often compared to WSL2 because both provide Linux environments with host integration.

### ソース

- <https://github.com/lima-vm/lima>
- <https://github.com/lima-vm/lima/issues/119>
- <https://github.com/lima-vm/lima/releases/tag/v0.1.0>
- <https://lima-vm.io/docs/>
- <https://lima-vm.io/docs/talks/>


## セキュリティノート

virtual machine infrastructure.

- **Geiger リスク:** orange / 高
- virtual machine infrastructure


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ${LIMA_HOME:-$HOME/.lima}/<instance>/lima.yaml, ${LIMA_HOME:-$HOME/.lima}/_config/networks.yaml
## 他のパッケージマネージャ記録

- Nix - lima: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/lima/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - lima - 1.2.1-r7: normalized package name match | Alpine Linux edge package indexes: lima from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Linux virtual machine launcher focusing on running containers | https://lima-vm.io/
- apk - lima-bash-completion - 1.2.1-r7: normalized package name match | Alpine Linux edge package indexes: lima-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for lima | https://lima-vm.io/
- apk - lima-doc - 1.2.1-r7: normalized package name match | Alpine Linux edge package indexes: lima-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Linux virtual machine launcher focusing on running containers (documentation) | https://lima-vm.io/
- apk - lima-fish-completion - 1.2.1-r7: normalized package name match | Alpine Linux edge package indexes: lima-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for lima | https://lima-vm.io/
- apk - lima-guestagent - 1.2.1-r7: normalized package name match | Alpine Linux edge package indexes: lima-guestagent from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Lima guest agent | https://lima-vm.io/
- apk - lima-zsh-completion - 1.2.1-r7: normalized package name match | Alpine Linux edge package indexes: lima-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for lima | https://lima-vm.io/
- zypper - lima - 2.2.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: lima from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Linux virtual machines, with a focus on running containers | https://github.com/lima-vm/lima
- MacPorts - lima: normalized package name match | MacPorts ports tree: sysutils/lima/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/lima: normalized package name match | Scoop official bucket manifest trees: bucket/lima.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Lima.Lima: normalized package name match | Windows Package Manager source index: Lima.Lima from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/lima.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lima.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
