# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/colima>
- **版本:** 0.10.3
- **来源摘要:** Container runtimes on MacOS (and Linux) with minimal setup
- **主页:** <https://colima.run>
- **仓库:** <https://github.com/abiosoft/colima>
- **上游文档:** <https://colima.run>
- **许可证:** MIT
- **源码归档:** <https://github.com/abiosoft/colima.git>
- **最后更新:** 2026-07-27T22:04:03+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- colima (cli)
- colima (别名)

## 依赖

- lima

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.10.3
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/abiosoft/colima
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** colima
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- 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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [lima](https://pkg.so/zh-hans/brew/lima/) - Runtime dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [container](https://pkg.so/zh-hans/brew/container/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, macos, runtime.
- [containerd](https://pkg.so/zh-hans/brew/containerd/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, kubernetes, runtime.
- [container-canary](https://pkg.so/zh-hans/brew/container-canary/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker, kubernetes.
- [dcp](https://pkg.so/zh-hans/brew/dcp/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker, kubernetes.
- [lxc](https://pkg.so/zh-hans/brew/lxc/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, linux.
- [ko](https://pkg.so/zh-hans/brew/ko/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, kubernetes.
- [mintoolkit](https://pkg.so/zh-hans/brew/mintoolkit/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker.
- [rootlesskit](https://pkg.so/zh-hans/brew/rootlesskit/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, linux.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
