Install
Lexa ships as a single native binary. Pick the path that matches your platform.
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/anvia-hq/lexa/main/install.sh | shWindows (PowerShell)
irm https://raw.githubusercontent.com/anvia-hq/lexa/main/install.ps1 | iexPin a specific version
Pass the version you want to the installer:
curl -fsSL https://raw.githubusercontent.com/anvia-hq/lexa/main/install.sh | sh -s -- v0.5.1Install from source
If you have a Rust toolchain:
cargo install --path .Or build without installing and run from the working tree:
cargo build --release
./target/release/lexa --helpUpgrading an existing install
The lexa upgrade command replaces the running binary in place.
lexa upgrade # latest release
lexa upgrade v0.5.1 # specific version
lexa upgrade --install-dir "$HOME/.local/bin"By default, lexa upgrade updates the binary in the directory that contains
the currently running lexa. Override that with --install-dir or the
LEXA_INSTALL_DIR environment variable.
After upgrading, refresh the project graph so it picks up any new metadata:
lexa index .Disabling the version check
lexa --version does a short cached GitHub release check to report whether
lexa upgrade is available. Set LEXA_NO_UPDATE_CHECK=1 to skip it:
LEXA_NO_UPDATE_CHECK=1 lexa --version