Lexis is a local-first terminal assistant: install once, then type natural language in your shell.
No special prefix required. Just type things like:
check if brew is installedinstall pnpmshow node and npm versions
macOS / Linux:
curl -fsSL https://lexis.hridya.tech/install.sh | bashWindows (PowerShell):
iwr https://lexis.hridya.tech/win.ps1 -useb | iexIf you self-host the website, these endpoints are served directly by the app:
/install.sh/win.ps1
The installer installs Node.js if needed, installs the lexis CLI, then runs lexis setup: a guided flow that picks a provider, downloads the llama.cpp runtime and a model, installs shell hooks, and verifies the whole path end-to-end.
Runtime selection is automatic (prebuilt, pinned llama.cpp release, no Python, no venv):
- macOS (Apple Silicon): Metal
- macOS (Intel): CPU
- Linux / Windows: CUDA when a supported NVIDIA driver is present, else Vulkan, else CPU
During setup, Lexis asks how you want to use it:
auto: route natural-language commands directly in terminallx: only run when you explicitly calllx ...
- Open a new terminal.
- If you chose
auto, type normal English directly. - If you chose
lx, prefix commands withlx. - Higher-risk actions ask for confirmation.
Examples in auto mode:
check if brew is installed
install pnpm
show node and npm versionsExamples in lx mode:
lx check if brew is installed
lx install pnpm
lx show node and npm versionslx doctor
lx config show
lx model use llama-server
lx model download qwen3-linuxcmd-4b
lx hooks uninstall- A deterministic policy engine sets a risk floor the model cannot lower.
- Anything the engine cannot prove read-only requires confirmation.
- Low-confidence plans require confirmation.
- Critical plans require typed
YES+EXECUTE; no flag bypasses them. - Planning always includes detected platform/shell context, so Windows and Unix commands can differ.
Lexis can pull web context into planning when needed. The default provider is builtin (in-process DuckDuckGo); mcp is available for an external server.
In a hooked shell:
lx offpauses Lexis for the current terminal session;lx onresumes.lx uninstallremoves hooks, config, runtime, and downloaded models.
For full command options, run:
lx --help