> For the complete documentation index, see [llms.txt](https://strata-ai.gitbook.io/strata-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://strata-ai.gitbook.io/strata-ai/getting-started/installation.md).

# Installation

#### **Installation**

We provide several ways to install Strata AI. Choose the one that best suits your needs.

**Supported Systems and Versions**

| System Version | Python Version | Supported |
| -------------- | -------------- | --------- |
| macOS 13.x     | Python 3.9+    | Yes       |
| Windows 11     | Python 3.9+    | Yes       |
| Ubuntu 22.04   | Python 3.9+    | Yes       |

Ensure that Python 3.9+ is installed on your system:

```
python3 --version
```

**Install Stable Version**

Recommended for most users:

```
pip install strataai
```

**Install Submodules**

* **RAG**: `pip install 'strataai[rag]'`
* **OCR**: `pip install 'strataai[ocr]'`
* **Search-DDG**: `pip install 'strataai[search-ddg]'`
* **Search-Google**: `pip install 'strataai[search-google]'`
* **Selenium**: `pip install 'strataai[selenium]'`

**Install Latest Development Version**

For the newest features:

```
pip install git+https://github.com/your-org/strataai.git
```

**Install in Development Mode**

For developers and researchers:

```
git clone https://github.com/your-org/strataai.git
cd ./strataai
pip install -e .
```

Install submodules:

```
pip install -e .[rag]
```

**Install with Docker**

**Use Default Strata AI Image**:

```
# Step 1: Pull the image and prepare configuration
docker pull strataai/strataai:latest
mkdir -p /opt/strataai/{config,workspace}
docker run --rm strataai/strataai:latest cat /app/strataai/config/config.yaml > /opt/strataai/config/config.yaml

# Step 2: Run a demo
docker run --rm \
    --privileged \
    -v /opt/strataai/config/config.yaml:/app/strataai/config/config.yaml \
    -v /opt/strataai/workspace:/app/strataai/workspace \
    strataai/strataai:latest \
    strataai "Write a cli snake game"
```

**Build Your Own Image**:

```
git clone https://github.com/your-org/strataai.git
cd strataai && docker build -t strataai:custom .
```

**Installation for Full Features**

To generate diagrams like flowcharts and system designs:

**Mermaid with Node.js**:

```
npm install -g @mermaid-js/mermaid-cli
```

**Playwright**:

```
pip install playwright
playwright install --with-deps chromium
```
