omm log
Read the local run log every omm command writes — what ran, when, whether it succeeded, and how long it took — without sending anything anywhere.
01 / 06
Overview
Every omm invocation appends a summary block to ~/.omm/logs/history.log, and writes the full detail of that one run to its own ~/.omm/logs/<timestamp>_<pid>_<command>.jsonl file. log is how you read that back: the last 40 runs by default, fewer or more with -n, or only the runs matching some text with --grep. Arguments are recorded as <arg> rather than their values, so a model name or search term never lands in the log. The log is local only and is never uploaded, whatever the omm setting upload policies say — it exists so you can see what omm actually did after the fact, especially when something failed and the screen has scrolled away.
02 / 06
Options
Every flag this command accepts, and what it defaults to when you leave it out.
--linesNDefault: 40How many of the most recent runs to show.
--grepTEXTDefault: no filterOnly show runs whose block contains this text — a command name, a version, an error.
--rebuild—Default: offRegenerate history.log from the per-run JSONL files, for when the rolled-up file is missing or truncated.
03 / 06
Examples
From a plain search to something you'd put in a script.
The last 40 runs.
$ omm logJust the last five runs.
$ omm log -n 5Only runs whose block mentions install.
$ omm log --grep installRebuild the rolled-up log from the per-run detail files.
$ omm log --rebuild04 / 06
A real run
Real omm log run, 2026-09-01, against a throwaway OMM_HOME — four consecutive real runs (list, doctor, search, setting) logged and read back verbatim, timings and PIDs included. Two other blocks the same log held (an omm help --all run and a hidden background version check) are cut for length; nothing shown is edited. Note the <arg> in the search and setting blocks: that is what omm records, not the query.
06 / 06
If something goes wrong
Every message below is one this command actually prints. Find yours, read why it happened, then do the last line.
No run log yet.- why
- Nothing has been logged yet under this OMM_HOME — a brand-new install, or a log directory that was cleared.
- what to do
- Run any omm command, then read the log again.
- source
- src/omm/cli.py:6365-6366
Rebuilt history.log from 12 run(s).- why
- Not an error: --rebuild reports how many per-run JSONL files it re-rolled into history.log.
- what to do
- Nothing to do — the count is how many runs the rebuilt log now covers.
- source
- src/omm/cli.py:6362-6363
Still stuck? Open an issue with the exact message you saw.
All commands
- omm searchFind a model across the curated catalog, HuggingFace and ModelScope.
- omm installDownload a model into the hub and link it into every installed runner.
- omm runChat with an installed model — in the terminal for Ollama, or by opening the app for GUI runners.
- omm recommendGet a model suggestion ranked for this machine's hardware, with an offer to install it.
- omm contributeBenchmark models in a loop, uploading telemetry to improve recommend for hardware like yours.
- omm setupRe-run the hardware scan and runner-install checklist, any time.
- omm scanPrint this machine's hardware, detected runners, and models — no flags needed.
- omm tuneGet recommended context length, GPU offload, threads, and batch size for a model.
- omm fitSee whether a model fits this machine's free memory right now, installed or not.
- omm helpShow omm's own command summary, or the full reference with --all.
- omm importAdopt .gguf files sitting in other apps' model directories into the omm hub.
- omm uninstallRemove a model and clean up its symlinks and manifests. Alias: rm.
- omm listShow every model omm has installed and which runners each is linked into. Alias: ls.
- omm infoShow full detail — repo, version, size, links, run commands — for one installed model.
- omm upgradeRefresh installed models against their source — only re-downloads what's actually changed. Alias: up.
- omm linkRe-verify and repair every installed model's runner links, or link into a custom directory.
- omm cleanupClean up leftover partial downloads and broken runner symlinks in one pass — no flags needed.
- omm verifyProve that an installed model actually loads and generates text on this machine.
- omm benchmarkLocal quality and speed smoke evidence for one or more installed models.
- omm updateReinstall omm from the latest source and refresh its recommendation data.
- omm settingView or change omm's settings — telemetry, outbound data, theme, update channel, and more.
- omm doctorDiagnose the omm install and Ollama links, read-only — no flags needed.
- omm engine installInstall one local AI runner program directly, skipping the setup checklist.
- README — UsageEvery omm command, one line each.