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.
brew tap nimahejazi/tapbrew install nh-ask-clipip install nh-ask-clipip install -e .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