Skip to main content

Prerequisites

Before installing IronClaw, ensure you have the following:
  • PostgreSQL 15+ with pgvector extension
  • NEAR AI account (authentication handled via setup wizard)
  • Rust 1.85+ (only if building from source)
You can also use libSQL/Turso as an embedded database alternative. See the database configuration guide for details.

Download or build

Visit the Releases page to see the latest updates.
Run this command in PowerShell:
The script will:
  • Download the latest release
  • Extract to %LOCALAPPDATA%\ironclaw
  • Add IronClaw to your PATH
Install with cargo, requires Rust installed:
For full release (after modifying channel sources), run ./scripts/build-all.sh to rebuild channels first.

Verify installation

After installation, verify that IronClaw is in your PATH:
You should see output like:

Database setup

IronClaw requires PostgreSQL with the pgvector extension for persistent storage and semantic search.
1

Install PostgreSQL

2

Install pgvector extension

3

Create database

If you encounter permission errors, you may need to run these commands as the postgres user:
4

Verify database connection

You should see PostgreSQL version information.
If you see an error about pgvector not being installed:
Ensure the pgvector extension is properly installed and restart PostgreSQL:
Then re-run:

Alternative: libSQL/Turso

If you prefer an embedded database, you can use libSQL (SQLite-compatible) or Turso (cloud SQLite):
No installation required. IronClaw will create a local database file at ~/.ironclaw/ironclaw.db automatically.Set the database backend during onboarding:
Select libSQL when prompted for database backend.
Embedding dimension compatibility: The libSQL schema uses F32_BLOB(1536) which requires exactly 1536 dimensions. If using non-OpenAI embedding models with different dimensions, use PostgreSQL instead.

Next steps

Now that IronClaw is installed and your database is set up, proceed to the onboarding wizard:

Run onboarding

Configure IronClaw with the interactive setup wizard

Troubleshooting

The IronClaw binary is not in your PATH. Add it manually:
Add this to your shell profile (~/.bashrc, ~/.zshrc, etc.) to make it permanent.
Ensure PostgreSQL is running:
Install pgvector and restart PostgreSQL:
Then enable the extension:
Ensure you have the latest Rust toolchain:
If you’re building with custom features, ensure all dependencies are installed. Check the building tools guide for details.