Put AI in your terminal: summarise files, logs and web pages with one command
Copy any error message, type one short command, and get the cause and the fix in plain English. LLM sends any text to the AI on your own laptop, so your notes, errors and logs never leave your machine.
- The one setting that stops big files being silently cut short, and a filter trick that gets answers in seconds
- Ollama with
gemma4:e2bdownloaded. Not done that yet? Do Run a ChatGPT-style AI on your own laptop first (15 minutes). Gemma 4 needs Ollama 0.20.7 or newer: check withollama --version. - About 45MB of free disk space for LLM itself
- Windows PowerShell, or Terminal on a Mac
Check your local AI is ready
LLM is only the messenger. Ollama is the engine that actually runs the AI on your machine.
This mission uses the same free model as Run a ChatGPT-style AI on your own laptop: Google's Gemma 4 (
gemma4:e2b) running in Ollama. If you've done that lesson, skip straight to the check.Windows (skip if you've done it)winget install --id Ollama.Ollama -e ollama pull gemma4:e2bOn a Mac, install Ollama from ollama.com/download ↗, then run
ollama pull gemma4:e2b. The model is a 4.6GB download, so give it a few minutes. Then make sure it's there:Terminalollama listOutputNAME ID SIZE MODIFIED gemma4:e2b b37049369adf 4.6 GB Less than a second ago
ollama list shows gemma4:e2b.