安裝 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 的步驟如下:
- Add the
hxbinary to your system’s$PATHto allow it to be used from the command line. - Copy the
runtimedirectory to a location thathxsearches 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.