軟體包管理器
Linux
The following third party repositories are available:
Debian
sudo apt install hx
If you are running a system older than Debian 13, follow the steps for Ubuntu/Mint.
Ubuntu/Mint
Install the Debian package from the release page.
If you are running a system older than Ubuntu 22.04, Mint 21, or Debian 12, you can build the .deb file locally from source.
Fedora/RHEL
sudo dnf install helix
Arch Linux extra
Releases are available in the extra repository:
sudo pacman -S helix
💡 When installed from the
extrarepository, run Helix withhelixinstead ofhx.For example:
helix --healthto check health
Additionally, a helix-git package is available in the AUR, which builds the master branch.
NixOS
Helix is available in nixpkgs through the helix attribute, the unstable channel usually carries the latest release.
Helix is also available as a flake in the project root. Use nix develop to spin up a reproducible development shell. Outputs are cached for each push to master using Cachix. The flake is configured to automatically make use of this cache assuming the user accepts the new settings on first use.
If you are using a version of Nix without flakes enabled, install Cachix CLI and use cachix use helix to configure Nix to use cached outputs when possible.
Flatpak
Helix is available on Flathub:
flatpak install flathub com.helix_editor.Helix
flatpak run com.helix_editor.Helix
Snap
Helix is available on Snapcraft and can be installed with:
snap install --classic helix
This will install Helix as both /snap/bin/helix and /snap/bin/hx, so make sure /snap/bin is in your PATH.
AppImage
使用 Linux AppImage 格式安裝 Helix。請從最新發行版頁面下載官方的 Helix AppImage。
chmod +x helix-*.AppImage # change permission for executable mode
./helix-*.AppImage # run helix
You can optionally add the .desktop file. Helix must be installed in PATH with the name hx. For example:
mkdir -p "$HOME/.local/bin"
mv helix-*.AppImage "$HOME/.local/bin/hx"
and make sure ~/.local/bin is in your PATH.
Linux Homebrew Core
Checkout the macOS instructions below.
macOS
Homebrew Core
Install the latest release:
brew install helix
Or, install the latest nightly version:
brew install --HEAD helix
MacPorts
sudo port install helix
Windows
Install on Windows using Winget, Scoop, Chocolatey, Packably or MSYS2.
Winget
Windows Package Manager winget command-line tool is by default available on Windows 11 and modern versions of Windows 10 as a part of the App Installer. You can get App Installer from the Microsoft Store. If it’s already installed, make sure it is updated with the latest version.
winget install Helix.Helix
Scoop
scoop install helix
Chocolatey
choco install helix
Packably
packl install helix
MSYS2
For 64-bit Windows 8.1 or above:
pacman -S mingw-w64-ucrt-x86_64-helix