# 使用 Homebrew, apk, apt, MacPorts, Nix, zypper, scoop 安装 code-minimap

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

## 安装

```sh
sudo av install brew:code-minimap
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install code-minimap
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install code-minimap
```

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

### Linux

- apk (92%):

```sh
sudo apk add code-minimap
```

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

- Debian apt (92%):

```sh
sudo apt install code-minimap
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#code-minimap
```

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

- zypper (92%):

```sh
sudo zypper install code-minimap
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/code-minimap
```

  证据: Scoop official bucket manifest trees: bucket/code-minimap.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:code-minimap
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/code-minimap>
- **版本:** 0.6.8
- **来源摘要:** High performance code minimap generator
- **主页:** <https://github.com/wfxr/code-minimap>
- **仓库:** <https://github.com/wfxr/code-minimap>
- **许可证:** Apache-2.0 OR MIT
- **源码归档:** <https://github.com/wfxr/code-minimap/archive/refs/tags/v0.6.8.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- code-minimap (cli)
- code-minimap (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.6.8
- 本地数据: OK
- 上游仓库: https://github.com/wfxr/code-minimap
- 检测到的最新版本: v0.6.8 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

code-minimap is a Rust command-line tool for rendering source-code minimaps as text. Its official README frames it as a fast way to generate IDE-like minimap output for terminal editors and related tooling.

### 项目历史

The repository was created in 2020 and the README presents the tool as small, fast, memory efficient, zoomable, and multi-platform. The project publishes prebuilt binaries through GitHub releases and a Rust crate through crates.io.

### 采用历史

Distribution expanded beyond Cargo: the official README lists AUR, Alpine, Gentoo GURU, Homebrew, MacPorts, Scoop, prebuilt GitHub release binaries, and crates.io. The input also records additional package-manager coverage including Debian, Nix, and zypper.

### 使用方式

The basic workflow is `code-minimap <file>` with options for horizontal and vertical scaling, producing a block-character minimap in the terminal. The README explicitly points to use in IDE-like minimap plugins for terminal text editors.

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

The package is notable as a tiny terminal-native Rust utility with unusually broad package-manager reach for its size. It is the sort of tool package maintainers like because it has a single executable, clear CLI behavior, prebuilt releases, and a crates.io source path.

### 时间线

- 2020: GitHub repository created.
- 2020: v0.4.3 release published in November.
- 2021: v0.6.0 and follow-up releases expanded the 0.6 line.
- 2024: v0.6.8 released.

### Related projects

- The README names minimap.vim as a related project and example consumer. It also sits near terminal editor tooling, Rust CLI utilities, crates.io packaging, and package-manager ecosystems such as Homebrew, MacPorts, Scoop, AUR, Alpine, Gentoo, Nix, Debian, and openSUSE.

### 来源

- <https://github.com/wfxr/code-minimap>
- <https://github.com/wfxr/code-minimap/releases>
- <https://crates.io/crates/code-minimap>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

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

- Debian apt - code-minimap - 0.6.8+dfsg-1: normalized package name match | Debian stable package indexes: code-minimap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | minimap for source code | https://github.com/wfxr/code-minimap
- Nix - code-minimap: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/code-minimap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - code-minimap - 0.6.8-r0: normalized package name match | Alpine Linux edge package indexes: code-minimap from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A high performance code minimap render | https://github.com/wfxr/code-minimap
- apk - code-minimap-doc - 0.6.8-r0: normalized package name match | Alpine Linux edge package indexes: code-minimap-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A high performance code minimap render (documentation) | https://github.com/wfxr/code-minimap
- zypper - code-minimap - 0.6.8-1.6: normalized package name match | openSUSE Tumbleweed package metadata: code-minimap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A high performance code minimap render | https://github.com/wfxr/code-minimap
- MacPorts - code-minimap: normalized package name match | MacPorts ports tree: textproc/code-minimap/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/code-minimap: normalized package name match | Scoop official bucket manifest trees: bucket/code-minimap.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [silicon](https://pkg.so/zh-hans/brew/silicon/) - Shares pkgdb curated category or tags: cli, code-visualization, developer-tools, rust.
- [starship](https://pkg.so/zh-hans/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal.
- [tealdeer](https://pkg.so/zh-hans/brew/tealdeer/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal.
- [helix](https://pkg.so/zh-hans/brew/helix/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal.
- [sk](https://pkg.so/zh-hans/brew/sk/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal.
- [gitui](https://pkg.so/zh-hans/brew/gitui/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal.
- [moor](https://pkg.so/zh-hans/brew/moor/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal.
- [gitu](https://pkg.so/zh-hans/brew/gitu/) - Shares pkgdb curated category or tags: cli, developer-tools, rust, terminal.
- [codevis](https://pkg.so/zh-hans/brew/codevis/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, code-visualization, developer, developer-tools.
- [chars](https://pkg.so/zh-hans/brew/chars/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, rust, terminal.

## Combined YAML source

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