The Memvid CLI provides complete control over your memory files from the command line. Every operation available in the SDKs is also available via the CLI.Documentation Index
Fetch the complete documentation index at: https://docs.memvid.com/llms.txt
Use this file to discover all available pages before exploring further.
Installation
See Installation Guide for platform-specific instructions and troubleshooting.
Command Categories
| Category | Commands | Description |
|---|---|---|
| Creation | create, open | Create and inspect memory files |
| Data | put, put-many, update, delete, api-fetch | Add, modify, and remove documents |
| Search | find, ask, vec-search, timeline, when, audit | Query and retrieve information |
| Enrichment | enrich, memories, state, facts, export, schema | Extract and query structured facts |
| Tables | tables import, tables list, tables export, tables view | PDF table extraction |
| Maintenance | verify, doctor, nudge | File integrity and repair |
| Sessions | session start, session end, session replay | Time-travel debugging |
| Security | lock, unlock, binding, unbind | Encryption and access control |
| Tickets | tickets sync, tickets apply, plan show | Capacity and subscription management |
| Models | models install, models list, models remove | LLM and embedding model management |
Global Options
These options apply to all commands:Environment Variables
| Variable | Description | Example |
|---|---|---|
MEMVID_API_KEY | Dashboard API key for sync | mv_live_xxx |
OPENAI_API_KEY | OpenAI API key for embeddings/LLM | sk-xxx |
NVIDIA_API_KEY | NVIDIA API key for embeddings | nvapi-xxx |
GEMINI_API_KEY | Google Gemini API key | AIzaxxx |
MISTRAL_API_KEY | Mistral API key | xxx |
MEMVID_TELEMETRY | Disable telemetry (set to 0) | 0 |
MEMVID_LLM_CONTEXT_BUDGET | Max context chars for LLMs | 8000 |
Common Workflows
Basic Document Ingestion
Search and Retrieval
Fact Extraction and Entity Queries
PDF Table Extraction
Output Formats
Most commands support--json for machine-readable output:
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | File not found |
| 3 | Permission denied |
| 4 | Capacity exceeded |
| 5 | Lock conflict |
Next Steps
Create & Put
Create memory files and add documents
Search & Ask
Query your memory with hybrid search and LLM
Memory Cards
Extract structured facts with O(1) lookups
Timeline & View
Time-travel queries and session replay