CLI Reference
Complete reference for the Engrammic CLI
The engrammic CLI helps you install, configure, and manage Engrammic across different code editors and deployment modes.
Installation
curl -fsSL https://get.engrammic.ai | shThis downloads the CLI binary for your platform and runs the interactive installer.
Commands
engrammic install
Configure Engrammic MCP for your code editors.
engrammic install [OPTIONS]Options:
-y, --yes- Skip prompts, auto-configure detected editors--tool <ID>- Configure a specific editor by ID
Supported editors:
- Claude Code (
claude-code) - Cursor (
cursor) - Windsurf (
windsurf) - VS Code + Continue (
vscode-continue) - Zed (
zed) - Codex CLI (
codex) - Goose (
goose)
engrammic selfhost
Interactive wizard for self-hosted deployment.
engrammic selfhostGuides you through:
- Docker prerequisite check
- License key validation
- Port configuration (MCP server, Dagster UI)
- LLM provider setup (OpenAI, Anthropic, Vertex AI)
- Service startup
- Editor configuration
engrammic status
Show current installation state.
engrammic statusDisplays:
- Deployment mode (cloud or self-hosted)
- Configured editors
- License status (self-hosted)
- Service health (self-hosted)
engrammic upgrade
Upgrade self-hosted deployment to latest version.
engrammic upgradeActions:
- Pulls latest container images
- Restarts services with new images
- Cleans up old images
engrammic doctor
Run diagnostic health checks.
engrammic doctorChecks:
- Docker daemon running
- Container health status
- Service connectivity (memgraph, qdrant, redis, postgres)
- License validity
engrammic logs
View service logs for self-hosted deployment.
engrammic logs [OPTIONS]Options:
-s, --service <NAME>- Specific service (app, dagster, memgraph, etc.)-f, --follow- Follow log output-n, --lines <N>- Number of lines to show (default: 100)
Examples:
# Interactive service selection
engrammic logs
# Follow app logs
engrammic logs -s app -f
# Last 500 lines from dagster
engrammic logs -s dagster -n 500engrammic scale
Show container resource usage and scaling recommendations.
engrammic scaleDisplays memory usage per container and suggests resource adjustments.
engrammic license
View or update license key (self-hosted only).
engrammic licenseShows current license status and allows updating to a new key.
engrammic skills
Install or update Engrammic skills.
engrammic skills [OPTIONS]Options:
--skill-path <PATH>- Custom skill installation directory
engrammic uninstall
Remove Engrammic configuration from editors.
engrammic uninstall [OPTIONS]Options:
-y, --yes- Skip confirmation prompts--tool <ID>- Remove from specific editor only
engrammic list
List all detected code editors.
engrammic listShows which editors are installed and whether Engrammic is configured for each.
engrammic update
Update MCP endpoint configuration.
engrammic update [OPTIONS]Refreshes the engrammic server entry in configured editors.
Global Options
These options work with any command:
-y, --yes- Skip interactive prompts--tool <ID>- Target specific editor--skill-path <PATH>- Custom skill directory
Configuration Files
The CLI stores configuration in ~/.engrammic/:
~/.engrammic/
config.json # User preferences
docker-compose.yml # Self-hosted service definitions
.env # Self-hosted environment variablesExit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Configuration error |
| 3 | Docker not available |
| 4 | License invalid |
Environment Variables
| Variable | Description |
|---|---|
ENGRAMMIC_MCP_URL | Override default MCP endpoint |
ENGRAMMIC_KEYS_DIR | License key directory (internal) |
Examples
Fresh cloud setup
engrammic install
# Select "Cloud" mode
# Select editors to configureSelf-hosted setup
engrammic selfhost
# Follow the wizardCI/CD automation
# Non-interactive cloud setup for Claude Code
engrammic install -y --tool claude-codeCheck deployment health
engrammic doctor
engrammic statusTail production logs
engrammic logs -s app -f