# 使用 Homebrew, Nix 安装 cornelis

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

## 安装

```sh
sudo av install brew:cornelis
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cornelis
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cornelis
```

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

## 软件包事实

- **软件包键:** brew:cornelis
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cornelis>
- **版本:** 2.8.0
- **来源摘要:** Neovim support for Agda
- **主页:** <https://github.com/agda/cornelis>
- **仓库:** <https://github.com/agda/cornelis>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/agda/cornelis/archive/refs/tags/v2.8.0.tar.gz>
- **最后更新:** 2026-07-22T05:23:36Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cornelis (cli)
- cornelis (别名)

## 依赖

- gmp

## 构建依赖

- cabal-install
- ghc
- hpack

## macOS 提供的库

- libffi

## 安装行为

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

## 版本和新鲜度

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

Cornelis is a Neovim interface for Agda, positioning itself as agda-mode for Neovim. It is written in Haskell and exposes Agda interactions through Vim commands for loading, goals, refinement, case splitting, normalization, and navigation.

### 项目历史

The upstream README still describes Cornelis in relation to Emacs agda-mode and documents installation through common Vim and Neovim plugin managers. The current repository under the Agda organization was created in 2022, and its README states that the repository is currently unmaintained while asking interested maintainers to contact the Agda community.

### 采用历史

Cornelis serves the smaller intersection of Agda users and Neovim users. Its adoption significance is mainly editorial and workflow-based: it gives dependently typed programming a modal-editor path rather than requiring the traditional Emacs-centered Agda workflow.

### 使用方式

Users install Cornelis as a Neovim plugin, build it with Stack, and configure Vimscript or Lua variables for behavior such as rewrite mode, Agda input prefix, disabling default bindings, and debug logging.

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

Cornelis is interesting to package maintainers because it is both an editor integration and a Haskell-built executable. Distribution needs to account for Neovim plugin layout, Stack/Haskell build expectations, and compatibility with Agda versions.

### 时间线

- 2022: Current agda/cornelis GitHub repository created.
- 2026: Repository metadata shows recent activity while the README marks the project as unmaintained.
- Present: Tags in the official repository include v2.7.0, v2.7.1, and v2.8.0.

### Related projects

- Related projects include Agda, agda-mode for Emacs, nvim-hs.vim, vim-textobj-user, and Neovim plugin managers such as vim-plug and lazy.nvim.

### 来源

- <https://github.com/agda/cornelis>
- <https://raw.githubusercontent.com/agda/cornelis/master/README.md>
- <https://api.github.com/repos/agda/cornelis>
- <https://api.github.com/repos/agda/cornelis/tags>


## 安全说明

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:** cornelis
- **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 - cornelis: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/cornelis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.
- [cabal-install](https://pkg.so/zh-hans/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc](https://pkg.so/zh-hans/brew/ghc/) - Build dependency declared by Homebrew.
- [hpack](https://pkg.so/zh-hans/brew/hpack/) - Build dependency declared by Homebrew.
- [hadolint](https://pkg.so/zh-hans/brew/hadolint/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [haskell-stack](https://pkg.so/zh-hans/brew/haskell-stack/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [neovide](https://pkg.so/zh-hans/brew/neovide/) - Shares pkgdb curated category or tags: cli, developer-tools, neovim.
- [ghcup](https://pkg.so/zh-hans/brew/ghcup/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [bob](https://pkg.so/zh-hans/brew/bob/) - Shares pkgdb curated category or tags: cli, developer-tools, neovim.
- [ormolu](https://pkg.so/zh-hans/brew/ormolu/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [haskell-language-server](https://pkg.so/zh-hans/brew/haskell-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [dhall-lsp-server](https://pkg.so/zh-hans/brew/dhall-lsp-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, editor, gmp.
- [bench](https://pkg.so/zh-hans/brew/bench/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, gmp, haskell.
- [ghcid](https://pkg.so/zh-hans/brew/ghcid/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, gmp, haskell.

## Combined YAML source

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