Files
mnemazine/docs/installation.md
T

1.7 KiB

Installation

🇬🇧 English · 🇷🇺 Русский

Install into one folder:

git clone https://github.com/zarubinphil/Mnemazine.git "$HOME/Desktop/Mnemazine"
cd "$HOME/Desktop/Mnemazine"
bash install.sh

For the guided flow use:

bash setup.sh

Dry run:

MNEMAZINE_SETUP_DRYRUN=1 bash setup.sh

The installer creates:

  • inbox/;
  • vault/;
  • reports/;
  • .mnemazine/cache/;
  • .mnemazine/state/;
  • .mnemazine/bin/.

Open vault/ in Obsidian.

macOS

On macOS, the installer tries to compile Apple Vision OCR:

swiftc -O skills/mnemazine/vision-ocr.swift -o .mnemazine/bin/vision-ocr

If this fails, install Xcode Command Line Tools:

xcode-select --install

Python

Python dependencies are installed into .venv/. This keeps the system local to the Mnemazine folder.

install.sh uses requirements.lock when present, falling back to requirements.txt only when the lock is absent. Update policy: change requirements.txt, rebuild the local .venv, freeze to requirements.lock, then commit both files. Set MNEMAZINE_REQUIRE_PYTHON_DEPS=1 when Python document engines must fail hard instead of degrading.

Missing optional engines are explicit: the installer prints DEGRADED: ... for Python deps, Apple Vision OCR, or skipped local engines.

Desktop Dry Run

npm run protocol:desktop:dry-run

This runs the Desktop protocol against temporary inbox/vault/cache/archive paths. It never archives, deletes, or rewrites the live Desktop inbox.

Agent Skills

If Codex or Claude skill folders exist, the installer copies portable skills there. If they do not exist, nothing breaks.