Installation

This guide will walk you through installing IrisOS and setting up your development environment.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v20.x or higher)

  • npm or pnpm (package manager)

  • Git (for version control)

Verify Installation

node --version  # Should be v20.x or higher
npm --version   # Should be 9.x or higher

Installation Methods

Option 1: Clone the Repository

For contributing to IrisOS core or developing custom agents:

# Clone the repository
git clone https://github.com/IrisOS-xyz/irisos.git
cd irisos

# Install dependencies
pnpm install

# Build the project
pnpm build

# Run tests (optional)
pnpm test

Option 2: Docker Installation

Run IrisOS in a containerized environment:

Environment Setup

IrisOS requires certain environment variables to function properly. Create a .env file in your project root:

Starting the IrisOS Server

Once installed and configured, start the IrisOS server:

The IrisOS API server will be available at http://localhost:3000

System Requirements

Minimum Requirements

  • CPU: 2 cores

  • RAM: 4GB

  • Storage: 10GB free space

  • OS: Windows 10+, macOS 11+, Linux (Ubuntu 20.04+)

  • CPU: 4+ cores

  • RAM: 8GB+

  • Storage: 20GB+ SSD

  • OS: Latest stable versions

Verifying Installation

Test that the API server is running:

Expected response:

Next Steps

Now that you have IrisOS installed, head over to the Quickstart guide to create your first agent!

Last updated