Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

安裝 Helix

The typical way to install Helix is via your operating system’s package manager.

Note that:

  • To get the latest nightly version of Helix, you need to build from source.

  • To take full advantage of Helix, install the language servers for your preferred programming languages. See the wiki for instructions.

預先建置的二進位檔

GitHub Releases 頁面下載預先編譯的二進位檔案。壓縮檔內容包含 hx 二進位執行檔及 runtime 目錄。設定 Helix 的步驟如下:

  1. Add the hx binary to your system’s $PATH to allow it to be used from the command line.
  2. Copy the runtime directory to a location that hx searches for runtime files. A typical location on Linux/macOS is ~/.config/helix/runtime.

To see the runtime directories that hx searches, run hx --health. If necessary, you can override the default runtime location by setting the HELIX_RUNTIME environment variable.