v0.5.1

ask.
The AI that lives in your terminal.

Stop breaking your flow. Get instant, accurate coding answers directly in your CLI without ever switching to a browser.

Install
Homebrew (macOS)
$brew tap nimahejazi/tap
$brew install nh-ask-cli
pip
$pip install nh-ask-cli
From source:pip install -e .
bash - ask
$ask -n "what's six sigma DMIAC?"
Six Sigma DMAIC is the improvement cycle your note describes
Define, Measure, Analyze, Improve, Control
[note: Six Sigma Note](file://~/.ask-notes/six-sigma-note.md)
$_

Engineered for Focus

No context switching

Stay in your editor, stay in your terminal. Ask questions and get code snippets without breaking your mental stack or waiting for a bloated web app to load.

It reads your notes

Keep plain markdown notes in ~/.ask-notes and the assistant consults them automatically, citing them inline. -n answers strictly from your notes, -N skips them. Your files are the source of truth.

Privacy by choice

Run fully local via Ollama or LM Studio, chat, embeddings, and the notes index all stay on your machine, or use your own provider keys. We never see your queries.

Always free

Core query functionality is open source and free forever for individual developers.

Ready to optimize your workflow?

Takes less than 10 seconds to install.

ask --help