Skip to main content
The aiox install command installs the AIOX framework in your current project directory, including all agents, tasks, templates, and IDE configurations.

Usage

Runs in the current directory. For creating a new project, use aiox init instead.

Options

flag
Overwrite existing AIOX installation without prompting. Use this to reinstall or update manually.
flag
Minimal output with no banner or prompts. Ideal for CI/CD pipelines.
flag
Simulate installation without modifying any files. Shows what would be installed.
flag
Automatically merge existing config files in brownfield installations. Preserves your customizations while adding new AIOX settings.Affects:
  • .env files - Adds new variables, preserves existing values
  • CLAUDE.md - Updates AIOX sections, keeps custom rules
flag
Disable automatic merging. Uses legacy overwrite behavior instead.
flag
Display help information for the install command.

Examples

Basic Installation

Install AIOX in your current project with interactive prompts:
This will:
  1. Detect or initialize git repository
  2. Create package.json if missing
  3. Run the installation wizard
  4. Install framework files to .aiox-core/
  5. Configure selected IDEs
  6. Update .gitignore

Quiet Installation (CI/CD)

Install without any prompts or banners:
Perfect for:
  • CI/CD pipelines
  • Docker builds
  • Automated deployment scripts

Preview Installation

See what would be installed without making changes:
Shows:
  • Files that would be created
  • IDE configurations to be installed
  • .gitignore changes

Force Reinstall

Reinstall AIOX, overwriting existing files:
Use cases:
  • Repair corrupted installation
  • Downgrade to specific version
  • Reset to default configuration
--force will overwrite customized framework files. Use --merge to preserve customizations.

Brownfield Installation (Smart Merge)

Install in a project with existing configs, preserving customizations:
The smart merge:
  • Preserves your existing .env values
  • Adds new AIOX environment variables
  • Updates AIOX sections in CLAUDE.md
  • Keeps your custom IDE rules

Upgrade from Existing Installation

If AIOX is already installed, you’ll see an upgrade prompt:

Upgrade Options

Upgrade - Smart upgrade that:
  • Installs new framework files
  • Updates modified framework files
  • Preserves user-modified files
  • Updates installation manifest
Dry Run - Preview changes:
Fresh Install - Complete reinstall:
  • Removes old installation
  • Installs all files fresh
  • Runs full wizard again

What Gets Installed

Framework Core

IDE Configurations

Based on your selection: Claude Code:
Cursor:
GitHub Copilot:

Configuration Files

  • .aiox-installation-config.yaml - Installation metadata
  • .aiox-pm-config.yaml - Project management integration
  • .aiox-core/version.json - Version tracking
  • .aiox-core/.installed-manifest.yaml - File integrity tracking

Updated Files

  • .gitignore - Adds AIOX framework entries (project-development mode)
  • package.json - Initialized if missing

Interactive Wizard

The installation wizard guides you through:
  1. Installation Mode:
    • Using AIOX in a project (files added to .gitignore)
    • Developing AIOX framework (files are source code)
  2. PM Tool Integration:
    • None (local YAML)
    • ClickUp
    • GitHub Projects
    • Jira
  3. IDE Selection (multi-select):
    • Claude Code
    • Cursor
    • Gemini CLI
    • GitHub Copilot
    • AntiGravity
  4. CLI Tools Installation:
    • Detects missing CLI tools
    • Offers to install (e.g., @anthropic-ai/claude-code)
  5. Squad Selection (optional):
    • squad-creator
    • data-engineering
    • testing-automation
    • etc.

Post-Installation Validation

After installation, AIOX automatically:
  1. Validates file integrity
  2. Checks for missing files
  3. Verifies framework structure
  4. Creates installation manifest
If validation finds issues:

Exit Codes

  • 0 - Installation successful
  • 1 - Installation failed or cancelled

Troubleshooting

No Git Repository

AIOX will automatically initialize git:

Missing package.json

AIOX creates a default package.json:

Installation Validation Failed

If you see validation warnings:
Repair the installation:

Version Mismatch

If local and package versions differ:
Update to latest:

Configuration Files

.aiox-installation-config.yaml

Stores installation metadata:

.aiox-core/version.json

Tracks installation version:

Smart Merge (Brownfield)

When installing in projects with existing configs:

Environment Variables (.env)

Before:
After --merge:

IDE Rules (CLAUDE.md)

Before:
After --merge:

Next Steps

After installation:
  1. Validate installation:
  2. Run system diagnostics:
  3. Check version:
  4. Explore installed agents:
  5. Start using in your IDE:
    • Claude Code: /dev, /architect, /qa
    • Cursor: @dev, @architect
    • GitHub Copilot: Select agent mode
  • init - Create new AIOX project
  • update - Update to latest version
  • validate - Verify installation integrity
  • uninstall - Remove AIOX from project