# 使用 Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, zypper, scoop, winget, apt 安装 helix

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

## 安装

```sh
sudo av install brew:helix
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install helix
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install helix
```

  证据: MacPorts ports tree: editors/helix/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add helix
```

  证据: Alpine Linux edge package indexes: helix from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install helix
```

  证据: Fedora Rawhide package metadata: helix 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#helix
```

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

- pacman (92%):

```sh
sudo pacman -S helix
```

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

- zypper (92%):

```sh
sudo zypper install helix
```

  证据: openSUSE Tumbleweed package metadata: helix from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install hx
```

  证据: Debian stable package indexes: hx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Chocolatey (92%):

```sh
choco install helix
```

  证据: Chocolatey community package catalog: helix from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.4028','coreinfo'

- Scoop (92%):

```sh
scoop install main/helix
```

  证据: Scoop official bucket manifest trees: bucket/helix.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Helix.Helix -e
```

  证据: Windows Package Manager source index: Helix.Helix from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:helix
- **软件包管理器:** Homebrew
- **版本:** 25.07.1
- **来源摘要:** Post-modern modal text editor
- **主页:** <https://helix-editor.com>
- **仓库:** <https://github.com/helix-editor/helix>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- hx (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Helix is a terminal-first modal editor written in Rust. Its own README frames it as a Kakoune- and Neovim-inspired editor with Vim-like modal editing, multiple selections, built-in Language Server Protocol support, and Tree-sitter-based syntax features.

For package-manager users, Helix matters because it is a modern editor packaged as a single `hx` command while still shipping a large runtime of grammars, themes, language configuration, and editor documentation.

### 项目历史

The public GitHub repository was created in June 2020. The project developed around a Rust codebase split into editor core, terminal UI, LSP, DAP, loader, runtime, and query assets, which made the editor feel more like a self-contained toolchain than a thin terminal frontend.

Helix's editing model comes from Kakoune's selection-first approach, while its ecosystem position naturally invites comparison with Neovim. The project made built-in LSP and Tree-sitter support part of the editor's baseline rather than optional plugin work.

### 采用历史

The project moved quickly from source builds and GitHub releases into operating-system package channels. The supplied package metadata lists Homebrew, Chocolatey, Debian, Fedora, MacPorts, Nix, Arch, Scoop, winget, and openSUSE packaging, which is broad coverage for a comparatively young terminal editor.

Its adoption has been helped by an easy executable name, `hx`, and by official documentation that covers installation, configuration, language setup, themes, and keymaps in one place.

### 使用方式

Users run Helix as `hx` to edit files in a modal terminal interface. Normal package-manager installs must provide the binary plus the runtime assets that power highlighting, indentation queries, themes, and language definitions.

Helix configuration is conventionally stored in `config.toml` under the user config directory, with per-project overrides in `.helix/config.toml`; this makes it friendly to dotfile managers and repository-local editor policy.

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

Helix is interesting to package nerds because it compresses several editor-era trends into one package: Rust terminal UI, Tree-sitter grammars, LSP integration, modal editing, and runtime data that must be installed in the right place.

It also provides a useful contrast with plugin-heavy editor packaging. A Helix package has to get runtime paths and grammar assets right, but it does not require bootstrapping a large external plugin manager just to provide language-aware editing.

### 时间线

- 2020: Public GitHub repository created.
- 2021: Early public GitHub releases begin with the 0.0.x series.
- 2021: Helix documentation and installation guidance become part of the official project site.
- 2025: The 25.x release series appears on the official GitHub release page.

### Related projects

- Kakoune supplies the strongest editing-model influence.
- Neovim is the closest modal-editor ecosystem comparison.
- Tree-sitter and the Language Server Protocol are core technologies in Helix's default feature set.
- Nix, Homebrew, Chocolatey, Scoop, winget, Debian, Fedora, Arch, MacPorts, and openSUSE appear in the supplied package metadata as distribution channels.

### 来源

- <https://api.github.com/repos/helix-editor/helix>
- <https://docs.helix-editor.com/>
- <https://github.com/helix-editor/helix>
- <https://github.com/helix-editor/helix/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: ~/.config/helix/config.toml, .helix/config.toml
- Windows: %AppData%\helix\config.toml
## 其他软件包管理器记录

- Nix - helix: normalized package name match | nixpkgs package indexes: pkgs/by-name/he/helix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - helix - 25.07.1-r3: normalized package name match | Alpine Linux edge package indexes: helix from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A post-modern modal text editor | https://helix-editor.com/
- apk - helix-bash-completion - 25.07.1-r3: normalized package name match | Alpine Linux edge package indexes: helix-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for helix | https://helix-editor.com/
- apk - helix-fish-completion - 25.07.1-r3: normalized package name match | Alpine Linux edge package indexes: helix-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for helix | https://helix-editor.com/
- apk - helix-tree-sitter-system - 25.07.1-r3: normalized package name match | Alpine Linux edge package indexes: helix-tree-sitter-system from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A post-modern modal text editor | https://helix-editor.com/
- apk - helix-tree-sitter-vendor - 25.07.1-r3: normalized package name match | Alpine Linux edge package indexes: helix-tree-sitter-vendor from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A post-modern modal text editor | https://helix-editor.com/
- apk - helix-zsh-completion - 25.07.1-r3: normalized package name match | Alpine Linux edge package indexes: helix-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for helix | https://helix-editor.com/
- dnf - helix - 25.07.1-12.fc45: normalized package name match | Fedora Rawhide package metadata: helix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A post-modern modal text editor written in Rust | https://helix-editor.com/
- dnf - helix-parsers - 25.07.1-12.fc45: normalized package name match | Fedora Rawhide package metadata: helix-parsers from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Prebuilt tree-sitter parsers for Helix | https://helix-editor.com/
- dnf - helix-themes - 25.07.1-12.fc45: normalized package name match | Fedora Rawhide package metadata: helix-themes from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Helix themes | https://helix-editor.com/
- pacman - helix - 25.07.1-2: normalized package name match | Arch Linux sync databases: helix from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A post-modern modal text editor | https://helix-editor.com
- zypper - helix - 25.07.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: helix from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A post-modern modal text editor written in Rust | https://github.com/helix-editor/helix
- zypper - helix-bash-completion - 25.07.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: helix-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for helix | https://github.com/helix-editor/helix
- zypper - helix-fish-completion - 25.07.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: helix-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for helix | https://github.com/helix-editor/helix
- zypper - helix-runtime - 25.07.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: helix-runtime from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Runtime files for helix | https://github.com/helix-editor/helix
- zypper - helix-zsh-completion - 25.07.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: helix-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for helix | https://github.com/helix-editor/helix


## Combined YAML source

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


## 来源

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