| .. | ||
| tutorials | ||
| cli.md | ||
| installation.md | ||
| README.md | ||
| search_guide.md | ||
| vector_search_guide.md | ||
YAMS User Guide
An index for using YAMS from the command line. Start here, jump to what you need, and get things done.
TL;DR (after install)
# Initialize (uses XDG paths or YAMS_STORAGE)
yams init --non-interactive
# Add content (file or stdin)
yams add ./README.md
echo "note" | yams add - --name "quick-note.txt" --mime-type text/plain
# Explore
yams list --format table --limit 20
yams search "config file" --limit 5
# Retrieve and delete
yams get <hash> -o ./file.bin
yams delete <hash> --force
Tips:
- Global verbose help:
yams --help-all - Per-command verbose help:
yams <command> --help --verbose - Set a custom data root:
export YAMS_STORAGE="$HOME/.local/share/yams"
Topics
- Install and build
- Installation Guide: installation.md
- Command‑line usage
- CLI Reference: cli.md
- Searching your documents
- Keyword & FTS: search_guide.md
- Semantic & hybrid search: vector_search_guide.md
- Configuration (advanced)
- Admin/Config Overview: ../admin/configuration.md
- Troubleshooting
- Search issues: ../troubleshooting/search_issues.md
Common patterns
- Use JSON for scripting:
yams list --format json | jq '.'yams search "error logs" --limit 10 | jq '.results[] | {title, score}'
- Keep data separate per project:
YAMS_STORAGE="$PWD/.yams" yams init --non-interactiveYAMS_STORAGE="$PWD/.yams" yams add ./doc.md
See also
- Documentation Hub: ../README.md
- Manpages (if built):
man yams
Last updated: This guide is kept minimal and links to authoritative pages above. For exhaustive flags/options, see the CLI Reference or use the verbose help.