Command Reference
TribalMind provides a set of CLI commands for managing project knowledge. All commands support --help for detailed usage.
Global options
Section titled “Global options”tribal --version, -v Show version and exittribal --help Show help and exittribal --install-completion Install tab-completion for the current shelltribal --show-completion Show completion script (to copy or customize)Shell completion
Section titled “Shell completion”TribalMind supports tab-completion for all commands, options, and arguments. To enable it:
tribal --install-completionThis 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:
tribal --show-completionCore commands
Section titled “Core commands”| Command | Description |
|---|---|
tribal init | Initialize TribalMind for the current project or globally |
tribal remember | Store knowledge using natural language |
tribal recall | Search memory by semantic similarity |
tribal forget | Remove memories from the knowledge base |
tribal status | Show project info and memory stats |
tribal activity | View recent memory activity log |
Configuration commands
Section titled “Configuration commands”| Command | Description |
|---|---|
tribal config | Manage configuration (set, get, list, secrets) |
Integration commands
Section titled “Integration commands”| Command | Description |
|---|---|
tribal setup-agents | Generate agent integration files |
tribal ui | Launch the web dashboard |
tribal upgrade | Upgrade to the latest version |
Common patterns
Section titled “Common patterns”JSON output
Section titled “JSON output”Every command supports --json / -j for machine-readable output:
tribal recall --json "deployment issues"tribal status --jsonStdin piping
Section titled “Stdin piping”Commands that accept text input support piping via stdin:
echo "use --legacy-peer-deps for React 18" | tribal rememberecho "webpack build issues" | tribal recall --json