Quick Reference
| Command | Description |
|---|---|
longmem start | Start the memory daemon |
longmem stop | Stop the memory daemon |
longmem status | Check daemon status and version |
longmem stats | View memory statistics |
longmem logs | View daemon logs |
longmem export | Export memory to JSON or Markdown |
longmem --tui | Launch interactive setup wizard |
longmem --version | Show version information |
longmem --help | Show help message |
Command Structure
All longmem commands follow this pattern:Help Text
Runlongmem --help to see the built-in help:
Common Workflows
First-time Setup
Daily Operations
Troubleshooting
Debugging Commands
These commands are available for advanced debugging:longmem daemon- Run daemon in foreground (see console output)longmem mcp- Run MCP server directlylongmem hook- Run hook directly
Exit Codes
0- Success1- Error occurred
longmem status, exit code 0 means daemon is running, 1 means stopped.