Skip to content

Installation

RequirementMinimum
Node.js24+ (uses node:sqlite)
npm9+
OSmacOS, Linux, Windows (WSL recommended)
Disk~50 MB for Omnodex + space for event logs
Terminal window
npm install -g omnodex

This installs the omnodex command globally. Verify the installation:

Terminal window
omnodex status

If you want to contribute or run the latest development code:

Terminal window
git clone https://github.com/omnodex/omnodex.git
cd omnodex
npm install
npx tsc -b

This builds all packages in the monorepo. The CLI is then available via npx omnodex from within the repo directory.

By default, Omnodex stores event logs and configuration in ~/.omnodex. You can override this with the OMNODEX_HOME environment variable:

Terminal window
export OMNODEX_HOME=/path/to/your/omnodex/data

This directory will contain:

  • events.jsonl - The append-only event log (source of truth)
  • omnodex.db - SQLite read model (derived, can be rebuilt from the event log)
  • config.json - Local configuration
Terminal window
omnodex install claude-code

This registers a Claude Code hook that fires on every tool invocation. The hook runs asynchronously and does not affect Claude’s execution speed or token usage.

To verify the hook is installed:

Terminal window
omnodex status

If you use multiple AI tools that write to different OMNODEX_HOME directories (for example, Antigravity Desktop on Windows alongside Claude Code in WSL), you can aggregate all event logs into a single dashboard:

~/.omnodex/config.json
{
"dashboard": {
"roots": [
"/home/user/.omnodex",
"/mnt/c/Users/user/.omnodex"
]
}
}

The dashboard will merge sessions from all roots, tagging each with its source.

To remove Omnodex hooks from a project:

Terminal window
omnodex uninstall --confirm

This removes all installed hooks but preserves your event data. To remove hooks for a specific agent only:

Terminal window
omnodex uninstall claude-code --confirm

To fully remove Omnodex from your system:

Terminal window
# 1. Remove hooks from all projects where Omnodex is installed
omnodex uninstall --confirm
# 2. Delete all event data and configuration
omnodex clear --all --confirm
# 3. Remove the global npm package
npm uninstall -g omnodex

After step 3, the omnodex command will no longer be available. If you installed from source, delete the cloned repo directory as well.