Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Maintenance

Commands for keeping Lexa and the project graph in shape.

upgrade [version]

Upgrade the Lexa binary, not the project index. By default lexa upgrade updates the binary in the directory that contains the currently running lexa.

lexa upgrade
lexa upgrade v0.5.1
lexa upgrade --install-dir "$HOME/.local/bin"
FlagDescription
--install-dir <path>Override the install directory for this call.

LEXA_INSTALL_DIR (env var) has the same effect.

After upgrading, refresh the project graph so it picks up any new metadata:

lexa index .

changes [since]

Show files changed since the given session sequence number (default: 0). The argument is a session-local counter, not a git ref.

lexa changes
lexa changes 42

recent

Show recently modified files.

lexa recent
lexa recent --limit 5
FlagDescription
-l, --limit <N>Cap the number of results (default: 10).