How-to guides
Manage configuration and cache
Change persistent defaults, inspect effective settings, and clear cached results.
Edit configuration
Set EDITOR and run:
export EDITOR=nano
moji configThe default path is ~/.moji/config.yaml. Set MOJI_CONFIG to use another
file:
MOJI_CONFIG="$PWD/moji.yaml" moji configInspect effective settings
moji config showThe command prints JSON and redacts a configured GitHub token.
Bypass or clear cache
Search results are cached by normalized query, provider, and format set.
moji "Inter" --no-cache
moji cache clearUse --no-cache when you need a fresh provider response for one invocation.
Use cache clear to remove all saved search responses.