# 使用 Homebrew, dnf, Nix 安装 ghcid

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

## 安装

```sh
sudo av install brew:ghcid
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ghcid
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install ghcid
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ghcid
```

  证据: nixpkgs package indexes: ghcid from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## 软件包事实

- **软件包键:** brew:ghcid
- **软件包管理器:** Homebrew
- **版本:** 0.8.9
- **来源摘要:** Very low feature GHCi based IDE
- **主页:** <https://github.com/ndmitchell/ghcid>
- **仓库:** <https://github.com/ndmitchell/ghcid>
- **最后更新:** 2026-07-22T05:27:50Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ghcid (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.8.9
## 项目历史与用法

ghcid is a deliberately small Haskell development tool that keeps a GHCi session running, reloads it when source files change, and presents compiler errors and warnings in a terminal-oriented workflow.

### 项目历史

Neil Mitchell published ghcid on Hackage in 2014, with JPMoresmau credited as a co-author in the project README. The README frames the project as either "GHCi as a daemon" or "GHC plus a bit of an IDE", while stressing that it avoids editor integration, web servers, and dependency on the GHC library.

### 采用历史

ghcid became a familiar tool in the Haskell package ecosystem because it sits between plain GHCi and heavier editor-language-server tooling. Its README points to Hackage and Stackage package surfaces and includes editor integrations for VS Code, Neovim, Vim, and Emacs, which helped it fit many existing Haskell editor habits.

### 使用方式

Practitioners use ghcid beside an editor, often with a project-specific .ghci file or .ghcid argument file. On save, it reloads the GHCi session, lists errors and warnings, and can run test expressions once the code is warning-free or error-free.

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

For package maintainers, ghcid is notable for making the REPL itself the build feedback loop. That keeps setup close to Cabal, Stack, and GHCi conventions rather than requiring a full IDE stack.

### 时间线

- 2014: ghcid 0.1 was uploaded to Hackage.
- 2023: ghcid 0.8.9 was released on Hackage and GitHub.

### Related projects

- The README contrasts ghcid with ghcide, reflex-ghci, reflex-ghcide, Watchexec, entr, Watchman, and other file-watching or Haskell feedback tools.

### 来源

- <https://github.com/ndmitchell/ghcid>
- <https://hackage.haskell.org/package/ghcid>
- <https://hackage.haskell.org/package/ghcid-0.1>


## 安全说明

没有找到 ghcid 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .ghcid in the current directory, an ancestor directory
## 其他软件包管理器记录

- Nix - ghcid: normalized package name match | nixpkgs package indexes: ghcid from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- dnf - ghc-ghcid - 0.8.9-14.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-ghcid from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell ghcid library | https://hackage.haskell.org/package/ghcid
- dnf - ghc-ghcid-devel - 0.8.9-14.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-ghcid-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell ghcid library development files | https://hackage.haskell.org/package/ghcid
- dnf - ghc-ghcid-doc - 0.8.9-14.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-ghcid-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell ghcid library documentation | https://hackage.haskell.org/package/ghcid
- dnf - ghc-ghcid-prof - 0.8.9-14.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-ghcid-prof from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell ghcid profiling library | https://hackage.haskell.org/package/ghcid
- dnf - ghcid - 0.8.9-14.fc45: normalized package name match | Fedora Rawhide package metadata: ghcid from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GHCi based bare bones IDE | https://hackage.haskell.org/package/ghcid


## Combined YAML source

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


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
