Skip to content

Command Reference

TribalMind provides a set of CLI commands for managing project knowledge. All commands support --help for detailed usage.

tribal --version, -v Show version and exit
tribal --help Show help and exit
tribal --install-completion Install tab-completion for the current shell
tribal --show-completion Show completion script (to copy or customize)

TribalMind supports tab-completion for all commands, options, and arguments. To enable it:

Terminal window
tribal --install-completion

This auto-detects your shell (bash, zsh, fish, PowerShell) and installs the appropriate completion script. Restart your shell or source your profile for it to take effect.

To inspect the completion script without installing:

Terminal window
tribal --show-completion
CommandDescription
tribal initInitialize TribalMind for the current project or globally
tribal rememberStore knowledge using natural language
tribal recallSearch memory by semantic similarity
tribal forgetRemove memories from the knowledge base
tribal statusShow project info and memory stats
tribal activityView recent memory activity log
CommandDescription
tribal configManage configuration (set, get, list, secrets)
CommandDescription
tribal setup-agentsGenerate agent integration files
tribal uiLaunch the web dashboard
tribal upgradeUpgrade to the latest version

Every command supports --json / -j for machine-readable output:

Terminal window
tribal recall --json "deployment issues"
tribal status --json

Commands that accept text input support piping via stdin:

Terminal window
echo "use --legacy-peer-deps for React 18" | tribal remember
echo "webpack build issues" | tribal recall --json