# 使用 Homebrew, MacPorts, Nix 安装 colima

查看 colima 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:colima
```

## 代理安全回答

colima controls local container and Kubernetes runtimes used by developer workflows.

- **凭据访问:** Can expose mounted files, container credentials, and runtime config.
- **远程变更:** Primarily local, but containers can call remote services.
- **发布/制品风险:** Can affect containerized build artifacts and local cluster state.
- **推荐控制:** Gate privileged runtime changes, mounts, and Kubernetes enablement.
- **代理使用指南:** Allow status checks; require approval for start options exposing host paths or privileged runtimes.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install colima
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install colima
```

  证据: MacPorts ports tree: sysutils/colima/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#colima
```

  证据: nixpkgs package indexes: pkgs/by-name/co/colima/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:colima
- **软件包管理器:** Homebrew
- **版本:** 0.10.3
- **来源摘要:** Container runtimes on MacOS (and Linux) with minimal setup
- **主页:** <https://colima.run>
- **仓库:** <https://github.com/abiosoft/colima>
- **最后更新:** 2026-07-27T22:04:03+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- colima (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.10.3
## 项目历史与用法

Colima is a command-line tool for running container runtimes on macOS and Linux with minimal setup, built around Lima virtual machines.

### 项目历史

The official README states the project goal as providing container runtimes on macOS with minimal setup and explains the name as Containers on Lima. It also notes the transitive meaning Containers on Linux Machines because Lima is also described as Linux Machines.

Colima grew from a Docker-oriented local runtime into a multi-runtime tool supporting Docker, containerd, Kubernetes, Incus, and newer GPU-accelerated AI workload support.

### 采用历史

Colima became popular in package-manager culture as a lightweight alternative path for local Docker-compatible development on macOS, especially after Docker Desktop licensing and resource-use concerns made VM-backed open tooling more attractive.

The official installation docs list Homebrew, MacPorts, Nix, Mise, Arch/AUR, release binaries, and source builds, reflecting broad distribution across developer package ecosystems.

### 使用方式

Typical usage is brew install colima followed by colima start, after which Docker, containerd/nerdctl, Kubernetes, or Incus clients can target the VM-backed runtime. Configuration is normally edited with colima start --edit or the colima template command.

### 为什么软件包爱好者会关心

Colima is packaging-significant because it coordinates several separately packaged tools: Lima for virtual machines, Docker or containerd clients, kubectl for Kubernetes, and optional Incus or AI workload tooling.

### 时间线

- 2020s: Colima emerges as Containers on Lima for macOS container runtimes.
- v0.7.0: Official README documents Incus runtime support.
- v0.10.0: Official README documents GPU-accelerated AI workload support using krunkit.
- 2020s: Official install docs list Homebrew, MacPorts, Nix, Mise, Arch/AUR, binaries, and source builds.

### Related projects

- Official docs directly relate Colima to Lima, Docker, containerd, Kubernetes, nerdctl, Incus, and krunkit.

### 来源

- <https://colima.run/docs>
- <https://github.com/abiosoft/colima>
- <https://github.com/abiosoft/colima/blob/main/docs/INSTALL.md>
- <https://github.com/abiosoft/colima/blob/main/docs/FAQ.md>


## 安全说明

container and virtual machine infrastructure.

- **Geiger 风险:** orange / 高
- container and 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: ~/.colima/default/colima.yaml, ~/.colima/<profile-name>/colima.yaml, ~/.colima/_templates/default.yaml
## 其他软件包管理器记录

- Nix - colima: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/colima/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - colima: normalized package name match | MacPorts ports tree: sysutils/colima/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/colima.yml](https://github.com/mxcl/pkgdb/blob/main/combined/colima.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
- curated agent safety answer
