# 使用 Homebrew, Nix, pacman, zypper 安装 ec

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

## 安装

```sh
sudo av install brew:ec
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ec
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ec
```

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

- pacman (92%):

```sh
sudo pacman -S editorconfig-checker
```

  证据: Arch Linux sync databases: editorconfig-checker from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install editorconfig-checker
```

  证据: openSUSE Tumbleweed package metadata: editorconfig-checker from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:ec
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ec>
- **版本:** 0.3.3
- **来源摘要:** TUI 3-way git mergetool
- **主页:** <https://github.com/chojs23/ec>
- **仓库:** <https://github.com/chojs23/ec>
- **上游文档:** <https://github.com/chojs23/ec#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/chojs23/ec/archive/refs/tags/v0.3.3.tar.gz>
- **最后更新:** 2026-06-17T14:40:49Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- ec (cli)
- ec (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.3.3
- 管理器更新时间: 2026-06-17
- 本地数据: OK
- 上游仓库: https://github.com/chojs23/ec
- 检测到的最新版本: v0.3.3 (当前)
## 项目历史与用法

ec, short for easy-conflict, is a young terminal-native Git merge conflict resolver. Its history is short but package-relevant: it packages a familiar three-pane merge workflow as a small CLI/TUI that can be installed from Homebrew, npm, Nix, Go, or release binaries.

### 项目历史

The public repository was created in January 2026 and describes ec as a 3-way terminal Git mergetool with optional Neovim integration. The README emphasizes diff3 base comparison, a no-argument conflicted-file picker, non-interactive modes for scripts or CI, and configuration as a Git mergetool.

Early releases moved quickly through the 0.1, 0.2, and 0.3 series in February-March 2026, with v0.3.3 published in June 2026.

### 采用历史

The upstream README documents Homebrew, npm, Nix, Go install, shell installer, AUR, and Windows binary installation paths. That is the adoption story so far: a new developer tool trying to meet users through common workstation package channels rather than only source builds.

### 使用方式

Typical usage is to run ec inside a Git repository with conflicts, or configure Git's mergetool command so Git passes BASE, LOCAL, REMOTE, and MERGED paths to ec. The README also documents Jujutsu merge-editor integration and non-interactive modes such as --check and --apply-all.

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

ec is interesting to package nerds because it is a modern, single-purpose terminal UI for an old Git pain point. It sits near lazygit, Neovim, Git mergetool, and Jujutsu workflows, so package availability matters more than a library API.

### 时间线

- 2026: Public GitHub repository created.
- 2026: v0.1.x, v0.2.x, and v0.3.x releases published in the first half of the year.
- 2026: README documents Homebrew, npm, Nix, Go, AUR, and Windows install routes.

### Related projects

- Git mergetool, Jujutsu merge-editor, Neovim terminal buffers, and lazygit are the workflows ec explicitly targets or demonstrates.
- Other terminal diff and merge tools occupy the same packaging neighborhood, but ec's README focuses on the Git/Jujutsu conflict-resolution path.

### 来源

- <https://github.com/chojs23/ec>
- <https://github.com/chojs23/ec/releases>
- <https://raw.githubusercontent.com/chojs23/ec/main/README.md>
- <https://api.github.com/repos/chojs23/ec>


## 安全说明

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


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ec
- **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

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

- Nix - ec: normalized package name match | nixpkgs package indexes: pkgs/by-name/ec/ec/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - editorconfig-checker - 3.7.0-1: normalized package name match | Arch Linux sync databases: editorconfig-checker from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool to verify that your files are in harmony with your .editorconfig | https://github.com/editorconfig-checker/editorconfig-checker
- zypper - editorconfig-checker - 3.7.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: editorconfig-checker from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to verify that your files are in harmony with your .editorconfig | https://github.com/editorconfig-checker/editorconfig-checker


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [editorconfig-checker](https://www.automicvault.com/zh-hans/pkg/npm/editorconfig-checker/) - Executable or command metadata overlaps with this package. Shared terms: ec.
- [diffnav](https://www.automicvault.com/zh-hans/pkg/brew/diffnav/) - Local package facts share a topical domain. Shared terms: git, tui.
- [git-get](https://www.automicvault.com/zh-hans/pkg/brew/git-get/) - Local package facts share a topical domain. Shared terms: git, way.

## Combined YAML source

View the package source record on GitHub. [combined/ec.yml](https://github.com/automic-vault/db/blob/main/combined/ec.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
