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.- Windows
- macOS
- Linux
- WSL
Windows Installer (recommended)
Windows Installer (recommended)
Download and run the Windows Installer.The installer will:
- Install IronClaw to
Program Files - Add IronClaw to your PATH
- Create a desktop shortcut
PowerShell script
PowerShell script
Run this command in PowerShell:The script will:
- Download the latest release
- Extract to
%LOCALAPPDATA%\ironclaw - Add IronClaw to your PATH
Cargo (build from source)
Cargo (build from source)
Install with
cargo, requires Rust installed:Verify installation
After installation, verify that IronClaw is in your PATH:Database setup
IronClaw requires PostgreSQL with the pgvector extension for persistent storage and semantic search.1
Install PostgreSQL
- macOS
- Ubuntu/Debian
- Windows
2
Install pgvector extension
- macOS
- Ubuntu/Debian
- From source
3
Create database
If you encounter permission errors, you may need to run these commands as the postgres user:
4
Verify database connection
Alternative: libSQL/Turso
If you prefer an embedded database, you can use libSQL (SQLite-compatible) or Turso (cloud SQLite):- libSQL (local)
- Turso (cloud)
No installation required. IronClaw will create a local database file at Select libSQL when prompted for database backend.
~/.ironclaw/ironclaw.db automatically.Set the database backend during onboarding: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
Command not found: ironclaw
Command not found: ironclaw
The IronClaw binary is not in your PATH. Add it manually:Add this to your shell profile (
- macOS/Linux
- Windows
~/.bashrc, ~/.zshrc, etc.) to make it permanent.PostgreSQL connection refused
PostgreSQL connection refused
Ensure PostgreSQL is running:
- macOS
- Ubuntu/Debian
- Windows
pgvector extension not found
pgvector extension not found
Install pgvector and restart PostgreSQL:Then enable the extension:
- macOS
- Ubuntu/Debian
Cargo build fails
Cargo build fails
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.
