Getting Started
Install
Pick whichever fits how you work. All of these ship the same binary; none requires a Rust toolchain except building from source.
Any platform with a Rust toolchain (1.98 or newer), via Cargo:
cargo install vix # the vix command
cargo install vix --features egui # and the vix-egui desktop GUI
The crates.io crate vix (T883) builds the terminal editor by default and
has one feature per desktop GUI: gpui, egui, iced, gtk4, slint,
bui and zgui (--no-default-features --features iced installs only
vix-iced). cargo install vix-tui still works and builds the same vix
command; since both install vix, Cargo refuses the second without
--force. Add --locked for the exact tested dependency versions. The
features, their licenses and build needs are on
crates.io (gui/vix/README.md).
macOS or Linux, via Homebrew:
brew tap vixide/tap
brew install vix # or, without the tap step: brew install vixide/tap/vix
Up to 3.0.0 the formula was vix-tui; that name still resolves to vix, and
brew upgrade moves an existing install over (see
spec/brew).
macOS or Linux, via the installer script (downloads the right prebuilt
archive for your platform and puts vix on your PATH):
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vixide/vix/releases/latest/download/vix-tui-installer.sh | sh
Windows, via PowerShell:
powershell -ExecutionPolicy Bypass -c "irm https://github.com/vixide/vix/releases/latest/download/vix-tui-installer.ps1 | iex"
Via npm (any platform npm supports):
npm install -g @vixide/vix
The terminal app’s package is vix-tui (installers, release archives); the
command it installs, and its Homebrew formula, is vix. The npm package
keeps its name, @vixide/vix.
Desktop GUIs: vix-gpui, vix-egui, vix-iced and vix-slint ship
from the same release, each installed the same way under its own name, for
example:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vixide/vix/releases/latest/download/vix-gpui-installer.sh | sh
Desktop apps on macOS, via Homebrew: each of the seven front ends is a macOS app, listed under its own name in Launchpad, Spotlight and Open With, installed as a cask of that name:
brew tap vixide/tap
brew install vix-egui # or: brew install --cask vixide/tap/vix-egui
The same goes for vix-gpui, vix-iced, vix-slint, vix-gtk4 (pulls in
Homebrew’s GTK 4), vix-bui and vix-zgui; the last three are Apple silicon
only. The apps are not notarized, so macOS asks before the first start; the
cask prints how to allow it. If you installed a GUI as a Homebrew formula
before, brew uninstall it first.
Desktop apps on Linux, via Homebrew: the same brew install vix-egui
on Homebrew on Linux (x86_64 or aarch64, glibc 2.35 or newer) installs
~/Applications/vix-egui.AppImage and a desktop entry, so your desktop’s
app launcher and Open With list it as vix-egui. Every app but vix-gtk4
has one (that one needs your distribution’s GTK 4: cargo install --locked vix-gtk4).
vix-slint is GPL-3.0-only. vix-gtk4, vix-bui (GPL-3.0-only) and vix-zgui have no release archives yet (vix-bui and vix-zgui do have Linux packages, below). Every GUI is on crates.io and compiles from source with cargo install --locked <name> (for example cargo install --locked vix-egui), or through the vix crate’s features (cargo install --locked vix --features egui). See
gui/spec/index.md (Distribution) for platforms
and run-time libraries.
Linux packages (.deb, .rpm, Arch .pkg.tar.zst): every
release carries native packages of vix-tui and the desktop GUIs
(vix-gpui, vix-egui, vix-iced, vix-slint, vix-bui and
vix-zgui; not vix-gtk4) for x86_64 and aarch64. Download the one for your distribution from the
latest release, then:
sudo apt install ./vix-tui_*_amd64.deb # Debian, Ubuntu
sudo dnf install ./vix-tui-*.x86_64.rpm # Fedora, RHEL, Rocky
sudo pacman -U ./vix-tui-*-x86_64.pkg.tar.zst # Arch
They need glibc 2.35 or newer (Ubuntu 22.04+, Debian 12+, Fedora 36+,
RHEL/Rocky 10). On older distributions, and on Alpine, use cargo install vix for now.
There is no apt or dnf repository yet, so updates mean installing the next
release’s package; Linux package repositories
is the setup to use once one is published. See spec/linux-packages/index.md.
Direct download: prebuilt archives (.tar.xz for macOS/Linux, .msi/
.zip for Windows) are attached to every
GitHub Release.
Verifying a download says how to check each
file, and each install route, before installing.
Minimal build (small and locked down): every GitHub Release also carries
vix-minimal-<target>.tar.gz (.zip on Windows) plus a .sha256 file. It is
vix built with --no-default-features, so it leaves out the DB workbench,
image preview, scripting, the integrated terminal, the HTTP client, the AI
assistant, Git and Jujutsu integration, language servers, debug adapters, the
Run Command / project-task shell runner, and syntax highlighting. It links no
TLS stack, makes no network connections, and Vix starts no other program itself (no git,
no language server, no shell). It is built with the minimal Cargo profile (fat LTO, one codegen unit, panics abort), chosen to shrink the attack surface; as a side effect it is also about 66% smaller than the default build (7.4 MiB vs 21.8 MiB on macOS arm64). It has no
installer: unpack it and put vix on your PATH. Build the same thing from
source with cargo build --profile minimal --no-default-features, or keep what you want
with --features sql,git,… (see
spec/cargo-features/index.md).
From source (needs a Rust toolchain, 1.98+):
git clone https://github.com/vixide/vix.git
cd vix
cargo build --release # binary at target/release/vix
Not yet published / unverified
None of these work yet. They are templates in this repository (T742, T743), waiting to be verified on a real machine or CI runner and then published. Until then, use one of the channels above. The commands below are what each channel will look like; see
packaging/index.mdfor the status of each andspec/packagingfor how the templates are checked and, once a maintainer opts in, published.
- winget (Windows):
winget install vixide.vix-tui. Manifest not yet submitted to winget-pkgs. - Scoop (Windows):
scoop install vix-tuifrom a Vix bucket. The bucket does not exist yet. - AUR (Arch):
vix-tui-bin, for exampleyay -S vix-tui-bin. Not yet pushed to the AUR. cargo binstall:cargo binstall vix-tui.vix-tuiis on crates.io and the published crate carries the binstall metadata, but nobody has tried it yet.- Nix:
nix run github:vixide/vixto try it,nix profile install github:vixide/vixto install it. The flake has not been built with Nix yet. - mise:
mise use -g cargo:vix-tui, ormise use -g "ubi:vixide/vix[matching=vix-tui,exe=vix]". Not yet tested. - Container image (try without installing):
docker run --rm -it ghcr.io/vixide/vixopens Vix on a demo workspace. The image builds and runs fromdocker/Dockerfileand is built and pushed on every version tag, but the ghcr.io package is not public yet, sodocker pulldoes not work yet.
First launch
vix # open rooted at the current directory
vix tui/src/main.rs # open one or more files directly
The first time Vix runs anywhere, it shows a scrollable welcome overlay —
see docs/welcome-panel/index.md. Press Esc
to close it; it won’t show automatically again (reopen any time from
Help → Welcome…).
For the file/folder/clock glyphs in the explorer and status areas to render as intended, use a [Nerd Font] in your terminal. Vix works without one — it just falls back to plainer characters.
The 10 things to learn first
Vix’s keybindings vary by keymap (Apple, VSCode, Emacs, Vi, Spacemacs,
IntelliJ, Eclipse, Sublime, Zed, Fresh, ttt, Helix — see View → Keymap, and
docs/reference/ for the full binding tables).
Everything below shows the Apple keymap, Vix’s default — every action is
also always reachable from its menu or the command palette regardless of
keymap.
- Open a file —
Ctrl+O(File → Open…), or browse the file explorer (see below) and pressEnteron an entry.Ctrl+Nstarts a new, unsaved buffer. - Save —
Ctrl+S(File → Save).Ctrl+Shift+Sis Save As. - The command palette —
Ctrl+P(Tools → Command Palette…) is the fastest way into anything else in this list, and everything not listed here: type to fuzzy-search files (default) or prefix with>to search commands by name instead of remembering a keybinding. - The file explorer —
Ctrl+Btoggles it,Ctrl+Efocuses it directly. It’s the left-hand pane in the screenshot at the top of this repo’sindex.md. - Find (and replace) —
Ctrl+Ffinds in the current file;Ctrl+Ris find & replace;Ctrl+Shift+Fsearches the whole workspace. Seedocs/find/index.md. - Panes and docks — the explorer (left), messages (right), and an
optional bottom dock (terminal, test results, DB workbench, …) frame the
editor’s tab area in the middle;
F6moves focus to the other editor pane when more than one is open. Seedocs/left-dock/index.md,docs/right-dock/index.md, anddocs/bottom-dock/index.md. - Undo and redo —
Ctrl+Z/Ctrl+Shift+Z. Unlike most bindings in this list, these two are wired the same in every keymap — they never change. - Git — Git → Changes… opens the working-tree status panel (stage,
unstage, diff, commit); see
docs/git-panel/index.mdfor the rest (blame, log, conflicts, and more). - Help —
F1opens a searchable overlay of every keyboard shortcut in your active keymap. Help also has the welcome screen, license, and issue-reporting link. - Quit —
Ctrl+Q(File → Quit). Vix prompts before discarding any unsaved buffer.
Where to go next
docs/index.md— the full documentation map.docs/configuration/index.md— every settings key, and where the config file lives.docs/keybindings/index.mdanddocs/keymaps/index.md— the complete keybinding reference and how to switch keymaps.- The
for-*-userspages (indocs/SUMMARY.md) if you’re coming from Vim, Emacs, Spacemacs, IntelliJ, Eclipse, Sublime, Zed, Fresh, ttt, Helix, or VS Code.
Vix™ and Vix IDE™ are trademarks.