lxask
Forgot the command? Just ask.
A Linux command assistant that runs on your own machine: no API key, no cloud, no account. Ask in plain words, get the command, with every part explained from the documentation.
curl -fsSLO https://github.com/arxhr007/lxask/releases/latest/download/install.sh && sh install.sh
What it does for you
A small model, the tldr pages and the man pages, checked against each other, on your laptop.
Private and offline
Everything runs locally on your CPU. Nothing you ask leaves your machine, and after installing it needs no network.
Small and fast
About 1 GB, no GPU. About 2 seconds an answer once loaded, and the installer offers to keep it loaded for you.
Checks its own work
Every command is checked against the man pages and tldr, and whatever it cannot confirm is marked unverified. That proves the programs and options exist and the line can run, not that it does what you meant. lxask --explain does the same for a command you already have, in a fraction of a second.
Right on your prompt
In bash, zsh or fish: type what you want, press Ctrl+G, and the line becomes the command, ready to edit. Nothing runs until you press Enter.
Keeps your restrictions
“Without lsof”, “don't use sudo”: it answers with something else. A vague request gets a question back, not a guess.
Cybersecurity answers, opt-in
lxask sec answers security tooling questions — scanning, web testing, Active Directory, wireless, forensics, reversing — from a curated 177-tool catalogue, offline. The knowledge is a one-megabyte lxask sec --install away for the people who want it; everyone else never carries it.
Never runs a command for you
It suggests; you decide. Anything that deletes, overwrites or formats carries a warning, and with Ctrl+G such a command lands on your prompt commented out.
How good is it
Measured on questions it was never trained on. When it misses, it is usually by a detail: a flag, a field number.
Every measurement, and where it goes wrong → · The mistakes from a real run →
Quick start
Linux on x86_64 or ARM64 with glibc 2.28 or newer.
curl -fsSLO https://github.com/arxhr007/lxask/releases/latest/download/install.sh
sh install.sh # about 1.1 GB, once; no root neededlxask "which process uses port 3000, without lsof or netstat"
# $ ss -ltnp 'sport = :3000'lxask --explain "tar -xzvf logs.tar.gz" # take apart a command you already haveeval "$(lxask --shell-init bash)" # in ~/.bashrc: then type a request and press Ctrl+G
lxask --shell-init fish | source # or this, in fish's config.fishDocumentation
Everything from installing to how the model was made.
Install
Requirements, checksums, offline install, upgrading from linu, uninstalling.
Usage
Reading an answer, explaining a command you have, restrictions, asking back, Ctrl+G, the server, one model for several machines, feedback, every option.
Examples
Real answers by topic, and the mistakes from the same run.
Configuration
Files, environment variables, settings, package managers.
How it works
Split, retrieve, answer, check, explain, warn.
Architecture
Diagrams of the request flow, the components, the server and the build.
Accuracy and limits
Every measurement, where it goes wrong, platforms, speed.
The SecAsk tool catalogue
Every tool lxask sec knows: the 177-tool catalogue by category, plus the multi-step workflows.
Development
Building from source, training data, how it is measured.
Contributing
Report a wrong answer or a bug, or change the code.
Security
What lxask does and does not do, and how to report a problem.