# Install cornelis with Homebrew, Nix

Neovim support for Agda. Version 2.8.0 via Homebrew; verified 2026-07-22. Also installable with nix: nix profile install nixpkgs#cornelis.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cornelis
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:cornelis
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cornelis>
- **Version:** 2.8.0
- **Source summary:** Neovim support for Agda
- **Homepage:** <https://github.com/agda/cornelis>
- **Repository:** <https://github.com/agda/cornelis>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/agda/cornelis/archive/refs/tags/v2.8.0.tar.gz>
- **Last updated:** 2026-07-22T05:23:36Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- cornelis (cli)
- cornelis (alias)

## Dependencies

- gmp

## Build dependencies

- cabal-install
- ghc
- hpack

## Uses from macOS

- libffi

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 2.8.0
- Package-manager updated: 2026-07-22
- Local data: ok
- Upstream repository: https://github.com/agda/cornelis
- Upstream latest detected: v2.8.0 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cabal-install](https://pkg.so/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc](https://pkg.so/brew/ghc/) - Build dependency declared by Homebrew.
- [hpack](https://pkg.so/brew/hpack/) - Build dependency declared by Homebrew.
- [hadolint](https://pkg.so/brew/hadolint/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [haskell-stack](https://pkg.so/brew/haskell-stack/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [neovide](https://pkg.so/brew/neovide/) - Shares pkgdb curated category or tags: cli, developer-tools, neovim.
- [ghcup](https://pkg.so/brew/ghcup/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [bob](https://pkg.so/brew/bob/) - Shares pkgdb curated category or tags: cli, developer-tools, neovim.
- [ormolu](https://pkg.so/brew/ormolu/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [haskell-language-server](https://pkg.so/brew/haskell-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, haskell.
- [dhall-lsp-server](https://pkg.so/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/brew/bench/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, gmp, haskell.
- [ghcid](https://pkg.so/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)


## Sources

- 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
