Skip to main content
Search indexed Entire history from the CLI. Add --code to search code content instead.
entire checkpoint search is an equivalent alias. In CLI versions 0.9.0 and earlier, entire search was hidden from entire --help but remained runnable. By default, search is scoped to the current repository. Use --repo, --all-repos, or repo:* to change the scope. Run without arguments to open interactive search. Use --json for machine-readable output.

Examples

Flags

Inline Filters

CLI queries also support inline filters:
Supported inline filters are:
  • author:NAME
  • date:week|month
  • branch:NAME
  • repo:OWNER/NAME
  • repo:*
Use --code to search code content instead of checkpoints, commits, and sessions. Results are grouped under a repo:path heading with line-numbered matches beneath it.
Code Search matches exact text and is currently case-insensitive. The CLI accepts --case-sensitive, but the search backend does not yet apply it. In --code mode, repo: is the only supported inline filter. The author:, branch:, and date: tokens are treated as literal query text, and the --author, --branch, --date, and --page flags do not apply. In interactive search, press 4 to switch to the Code tab.

Search

Compare semantic and keyword search with literal code search.

Search in the CLI

Use both search modes from your terminal.

Search Past Work and Code

Practice search with a guided tutorial.