Skip to main content
Installation connects Memory Crystal to your AI client and chooses where Memory Crystal data should live.

Primary installer

For Bash environments:
For native Windows PowerShell, use the PowerShell companion when available for your release:
The universal installer is the preferred path because it can detect supported clients, ask before changing each target, choose cloud or local-first backend mode, and print rollback guidance.

Agent Instructions

Copy and paste this directly into your agent, and it will know what to do:
Use the client matrix below when asking an agent to choose the exact command:
Codex Desktop shares ~/.codex/config.toml with the Codex CLI, so --targets codex-desktop (or codex-cli) configures both surfaces. On native Windows PowerShell, use generic MCP/manual setup for Codex Desktop until install.ps1 gains support.

Backend choices

Read Local-First Setup before choosing local mode. It documents Docker requirements, local dashboard URLs, config backups, local credential behavior, and rollback.

Supported clients

Single-client installer paths

These paths remain available for compatibility and focused installs:
OpenClaw and Hermes Agent use the primary /crystal installer.

Safety guarantees installers should preserve

  • ask before configuring each detected client
  • create a backup before every config mutation
  • validate JSON/TOML where applicable before and after writes
  • restore the previous config when validation fails
  • redact API keys, bearer tokens, device codes, and local credentials from logs
  • avoid package-manager or service changes without a prompt

Self-hosting

For infrastructure-oriented self-hosting, see:

Docs preview

Mintlify docs for this repo live under apps/docs.

Backend choices

  • run through Quickstart
  • verify tool access with crystal_wake, crystal_remember, and crystal_recall
  • keep the printed config backup path until you have verified the client works

Source of truth

  • apps/web/public/install.sh
  • apps/web/public/install.ps1
  • apps/web/public/install-claude-mcp.sh
  • apps/web/public/install-codex-mcp.sh
  • apps/web/public/install-droid-mcp.sh
  • scripts/convex-local-*.sh
  • scripts/convex-local-*.ts
  • .env.example