Installation
Quick install
Standalone (recommended)
bash
curl -fsSL https://raw.githubusercontent.com/aksika/abmind/main/scripts/install-standalone.sh -o install-standalone.sh
sh install-standalone.sh
abmind installThe bootstrap script acquires abmind via npm pack, installs an immutable release under ~/.abmind/packages/standalone/, and links the abmind command to ~/.local/bin. No npm install -g, no npm-global prefix dependency.
Channels: sh install-standalone.sh --alpha or --dev [DIR].
From source
bash
git clone git@github.com:aksika/abmind.git
cd abmind
npm install && npm run build
node dist/cli/abmind.js install
abmind updateWhat abmind install does
- Creates
~/.abmind/skeleton (config, memory, secret, prompts) - Installs native deps (
better-sqlite3,sqlite-vec) to~/.abmind/lib/ - Checks ollama — pulls
nomic-embed-textif available (enables vector search) - Asks encryption passphrase — derives key, stores in OS keyring (protects secrets at rest + backup encryption). Remember this passphrase — you'll need it to restore backups on a new machine.
- Initializes
memory.db(tables, FTS5 indexes, triggers) - Seeds
user_profile.mdfrom abtarsusers.json(or empty template) - Encrypts existing abtars secrets if passphrase provided
- Writes
ABMIND_HOMEto abtars.envif present - Installs the daemon as a native user service:
- Linux: systemd user service (
abmind-daemon.service), enablesloginctl enable-lingerfor logout/reboot survival - macOS: LaunchAgent at
~/Library/LaunchAgents/abmind.plist(created on firstabmind service install)
- Linux: systemd user service (
Non-interactive mode
bash
abmind install --non-interactive # skip passphrase (no encryption)
abmind install --non-interactive --passphrase "x" # with encryption, no promptsHost integration
Install into your AI tool with one command:
bash
abmind install-host kiro # Kiro CLI
abmind install-host claude # Claude Code
abmind install-host gemini # Gemini CLI
abmind install-host codex # OpenAI Codex CLIHermes-Agent
Hermes uses a plugin directory instead of install-host:
bash
cp -r <abmind-repo>/hermes-plugin/abmind ~/.hermes/plugins/abmind/
# Then in ~/.hermes/config.yaml:
# memory:
# provider: abmindThis sets up lifecycle hooks, MCP server registration, and context files. Safe to re-run. Uninstall with --uninstall.
Requirements
- Node.js 22+
- Optional: ollama (for vector embeddings — FTS5 + trigram work without it)
Verify
bash
abmind status # DB stats, embedding coverage
abmind hook-doctor # hook config health