# Contour

一款 macOS 终端模拟器，提供 GPU 加速渲染、标签页、Unicode 支持和命令行界面。

> 这是 OpenNavo 上 Contour 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/contour>

- **最新版本**: `0.8.0.9335`
- **开发者**: Christian Parpart
- **主页**: <https://github.com/contour-terminal/contour/>
- **分类**: [终端与 Shell](https://opennavo.com/zh/categories/terminal)
- **安装**: `brew install --cask contour`
- **近 30 天安装**: 36
- **Homebrew**: 可以安装，由 Homebrew 更新
- **下载地址**: <https://github.com/contour-terminal/contour/releases/download/v0.8.0.9335/contour-0.8.0.9335-macOS-arm.dmg>
- **SHA-256**: `d04f908ca49cf0b8e3f975c7cef37fbee460f291723bd81ba39086f7f09456c4`
- **附带命令**: contour

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "app": [
        "contour.app"
      ],
      "target": "/Applications/contour.app"
    },
    "phase": "install",
    "sources": [
      "contour.app"
    ],
    "target": "/Applications/contour.app",
    "type": "app"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/contour.app/Contents/MacOS/contour"
      ],
      "target": "$HOMEBREW_PREFIX/bin/contour"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/contour.app/Contents/MacOS/contour"
    ],
    "target": "$HOMEBREW_PREFIX/bin/contour",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/contour.app/Contents/Resources/terminfo/63/contour",
        {
          "target": "~/.terminfo/63/contour"
        }
      ],
      "target": "/$HOME/.terminfo/63/contour"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/contour.app/Contents/Resources/terminfo/63/contour"
    ],
    "target": "/$HOME/.terminfo/63/contour",
    "type": "binary"
  },
  {
    "declaration": {
      "bash_completion": [
        "$APPDIR/contour.app/Contents/Resources/shell-integration/shell-integration.bash",
        {
          "target": "contour"
        }
      ],
      "target": "$HOMEBREW_PREFIX/etc/bash_completion.d/contour"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/contour.app/Contents/Resources/shell-integration/shell-integration.bash"
    ],
    "target": "$HOMEBREW_PREFIX/etc/bash_completion.d/contour",
    "type": "bash_completion"
  },
  {
    "declaration": {
      "target": "$HOMEBREW_PREFIX/share/zsh/site-functions/_contour",
      "zsh_completion": [
        "$APPDIR/contour.app/Contents/Resources/shell-integration/shell-integration.zsh",
        {
          "target": "_contour"
        }
      ]
    },
    "phase": "install",
    "sources": [
      "$APPDIR/contour.app/Contents/Resources/shell-integration/shell-integration.zsh"
    ],
    "target": "$HOMEBREW_PREFIX/share/zsh/site-functions/_contour",
    "type": "zsh_completion"
  },
  {
    "declaration": {
      "fish_completion": [
        "$APPDIR/contour.app/Contents/Resources/shell-integration/shell-integration.fish",
        {
          "target": "contour.fish"
        }
      ],
      "target": "$HOMEBREW_PREFIX/share/fish/vendor_completions.d/contour.fish"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/contour.app/Contents/Resources/shell-integration/shell-integration.fish"
    ],
    "target": "$HOMEBREW_PREFIX/share/fish/vendor_completions.d/contour.fish",
    "type": "fish_completion"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/.config/contour",
            "~/Library/Caches/contour"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

Contour 是一款面向 macOS 的虚拟终端模拟器；此处提供的是 Apple 芯片版 Homebrew cask。它将图形终端应用与 `contour` 命令行界面结合起来。此 cask 要求 macOS 13 或更高版本。

- GPU 加速渲染、终端标签页、可自定义快捷键、配色方案和配置档案，构成其显示与定制功能的一部分。
- 支持 Unicode 表情符号和字素簇、可点击超链接、Sixel 内嵌图像以及 ReGIS 矢量图形。
- 应用包含 Bash、Zsh 和 Fish 的 shell 补全文件，以及 Contour terminfo 数据。
- Contour 可使用名为 `contour.yml` 的配置文件；项目将基于守护进程的持久会话描述为实验性功能。

使用 `brew install --cask contour` 安装。此 cask 会将 `contour.app` 安装到 `/Applications`，并提供 `contour` 命令。安装后，可启动应用或使用命令行界面。cask 还会安装 shell 补全和 terminfo 数据。

本条目介绍的是 Apple 芯片版 cask。此条目所依据的 cask 元数据要求 macOS 13 或更高版本。持久会话使用守护进程模式，项目将其标记为实验性功能。

来源：[Contour 项目](https://github.com/contour-terminal/contour/) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/c/contour.rb)

## 系统要求

- macOS 14 起 · 应用版本: 0.6.1.7494 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/contour.rb> · 核查于 2026-12-01
  - <https://github.com/contour-terminal/contour/releases/download/v0.6.1.7494/contour-0.6.1.7494-macOS-x86.dmg>
  - SHA-256: `fd560a5e58f55ac20cd0d440b136365428126ba6fac8edde69b4d36d98467c7e`
- macOS 13 起 · 应用版本: 0.8.0.9335 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/contour.rb> · 核查于 2026-12-01
  - <https://github.com/contour-terminal/contour/releases/download/v0.8.0.9335/contour-0.8.0.9335-macOS-arm.dmg>
  - SHA-256: `d04f908ca49cf0b8e3f975c7cef37fbee460f291723bd81ba39086f7f09456c4`

## 价格

- 免费 — 官网: <https://github.com/contour-terminal/contour/blob/master/LICENSE.txt> · <https://github.com/contour-terminal/contour/blob/master/LICENSE.txt> · 核查于 2026-10-25

## Contour 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/contour-terminal/contour> · 是否开源: 是 — <https://github.com/contour-terminal/contour> · 核查于 2026-11-13

## 卸载

- `brew uninstall --cask contour`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask contour`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/.config/contour` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/contour.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/contour` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/contour.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 0.8.0.9335 (2026-10-23)

新增命令区块及折叠、原生查找栏、网址与文件路径识别和 kitty 动画帧，改进输出、缩放、设置和 daemon，并修复粘贴及捕获权限。

通过 OSC 133 或 OSC 3008 上下文追踪提供带退出状态的命令区块、折叠、时间戳、固定标题和完成通知。Ctrl+点击可打开网址和文件路径，原生查找栏替代旧搜索提示。kitty 图形新增动画帧和帧选择，但尚不支持自动播放及帧合成。修复缓冲区捕获允许/拒绝策略及选择记忆、大段粘贴规范化，以及嵌入转义序列提前结束括号粘贴的问题。改进输出、重排、缩放、Unicode、设置、SSH 和 daemon。auto_scroll_on_update 默认改为 false，显式配置保留原值。daemon 会话仍属实验功能。

https://github.com/contour-terminal/contour/releases/tag/v0.8.0.9335

## 资料与来源

- <https://opennavo.com/zh/apps/contour>
- <https://opennavo.com/zh/apps/contour/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/c/contour.rb> · 核查于 2026-12-01
- <https://formulae.brew.sh/cask/contour>
- <https://github.com/contour-terminal/contour/blob/master/LICENSE.txt> · 核查于 2026-10-25
- <https://github.com/contour-terminal/contour> · 核查于 2026-11-13
