# 使用 Homebrew, Nix, zypper, apk, apt, dnf, pacman 安装 mintoolkit

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

## 安装

```sh
sudo av install brew:mintoolkit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mintoolkit
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#docker-slim
```

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

- zypper (92%):

```sh
sudo zypper install slim
```

  证据: openSUSE Tumbleweed package metadata: slim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- apk (92%):

```sh
sudo apk add slim
```

  证据: Alpine Linux edge package indexes: slim from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install slim
```

  证据: Debian stable package indexes: slim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install slim
```

  证据: Fedora Rawhide package metadata: slim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S slim
```

  证据: Arch Linux sync databases: slim from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:mintoolkit
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mintoolkit>
- **版本:** 1.41.8
- **来源摘要:** Minify and secure Docker images
- **主页:** <https://slimtoolkit.org/>
- **仓库:** <https://github.com/mintoolkit/mint>
- **上游文档:** <https://slimtoolkit.org/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/mintoolkit/mint/archive/refs/tags/1.41.8.tar.gz>
- **最后更新:** 2026-07-29T17:04:55+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- docker-slim (cli)
- mint-sensor (cli)
- slim (cli)
- docker-slim (别名)
- mint-sensor (别名)
- slim (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.41.8
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://github.com/mintoolkit/mint
- 检测到的最新版本: 1.41.8 (当前)
## 项目历史与用法

Mint Toolkit is the Homebrew package for the container-image optimization tool whose lineage runs through DockerSlim and SlimToolkit. The mintoolkit/mint README describes DockerSlim as MinToolkit or Mint, and Homebrew records mintoolkit as formerly known as docker-slim. The related SlimToolkit project credits Kyle Quest as creator and explains the tool's role as an open-source way to inspect, optimize, and harden container images without changing the application image by hand.

### 使用方式

In practice, Mint is used from the command line against existing Docker or OCI images. Its commands cover image inspection, minification, debugging, linting, registry work, vulnerability-oriented checks, and build workflows; the compatibility executables docker-slim and slim reflect its older package names. The examples repository documents use with Node.js, Python, Ruby, Java, Go, Rust, Elixir, and PHP applications across common Linux base images, with most examples centered on the mint build, also known as mint slim, workflow. In package-manager terms, mintoolkit occupies the niche between manual multi-stage Dockerfile slimming and broader container scanners: it tries to discover the files an app actually needs, then emits a smaller runtime image and related inspection artifacts.

### 来源

- <https://formulae.brew.sh/formula/mintoolkit>
- <https://github.com/mintoolkit/examples>
- <https://github.com/mintoolkit/mint>
- <https://github.com/slimtoolkit/slim>
- <https://slimtoolkit.org/>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

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

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

- Debian apt - slim - 1.4.1-2: installed executable or alias match | Debian stable package indexes: slim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | desktop-independent graphical login manager for X11 | http://sourceforge.net/projects/slim-fork/
- Nix - docker-slim: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/do/docker-slim/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - slim - 1.3.6-5.3build3: installed executable or alias match | Ubuntu 24.04 LTS package indexes: slim from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | desktop-independent graphical login manager for X11 | http://sourceforge.net/projects/slim.berlios/
- apk - slim - 1.4.1-r1: installed executable or alias match | Alpine Linux edge package indexes: slim from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Desktop-independent graphical login manager for X11 | https://sourceforge.net/projects/slim-fork
- apk - slim-doc - 1.4.1-r1: installed executable or alias match | Alpine Linux edge package indexes: slim-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Desktop-independent graphical login manager for X11 (documentation) | https://sourceforge.net/projects/slim-fork
- apk - slim-openrc - 1.4.1-r1: installed executable or alias match | Alpine Linux edge package indexes: slim-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Desktop-independent graphical login manager for X11 (OpenRC init scripts) | https://sourceforge.net/projects/slim-fork
- dnf - slim - 1.4.0-17.fc45: installed executable or alias match | Fedora Rawhide package metadata: slim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Simple Login Manager | https://sourceforge.net/projects/slim-fork/
- pacman - slim - 1:1.4.1-3: installed executable or alias match | Arch Linux sync databases: slim from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Simple Login Manager resurrected | https://slim-fork.sourceforge.io/
- zypper - slim - 1.40.11-1.7: installed executable or alias match | openSUSE Tumbleweed package metadata: slim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Minify your container images without changes | https://github.com/slimtoolkit/slim


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [colima](https://pkg.so/zh-hans/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker.
- [dtop](https://pkg.so/zh-hans/brew/dtop/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker.
- [container-canary](https://pkg.so/zh-hans/brew/container-canary/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker.
- [dcp](https://pkg.so/zh-hans/brew/dcp/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker.
- [oras](https://pkg.so/zh-hans/brew/oras/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [skopeo](https://pkg.so/zh-hans/brew/skopeo/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [container](https://pkg.so/zh-hans/brew/container/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [crane](https://pkg.so/zh-hans/brew/crane/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [kbld](https://pkg.so/zh-hans/brew/kbld/) - Both packages work with overlapping file formats or content types. Shared terms: cli, cloud, cloud-infrastructure, container, containers.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
