> ## Documentation Index
> Fetch the complete documentation index at: https://icrl.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install and configure ICRL for Python, TypeScript, CLI, and the web demo

## Python Package

Requires Python `>=3.12`.

```bash theme={null}
pip install icrl-py
# or
uv add icrl-py
```

From source:

```bash theme={null}
git clone https://github.com/SuperAce100/icrl.git
cd icrl
uv sync
```

CLI entrypoint after install:

```bash theme={null}
icrl --help
```

## TypeScript Package

Requires Node `>=18`.

```bash theme={null}
npm install icrl
# or
pnpm add icrl
# or
yarn add icrl
```

Peer deps used by built-in providers:

```bash theme={null}
npm install openai @anthropic-ai/sdk
```

## Required Environment Variables

Common options:

* `OPENAI_API_KEY`
* `ANTHROPIC_API_KEY`
* `GOOGLE_APPLICATION_CREDENTIALS` (Python Vertex path-based auth)
* `VERTEXAI_PROJECT`
* `VERTEXAI_LOCATION`

Web demo-specific values are documented in `/guides/web-example`.

## Verify Installation

Python:

```bash theme={null}
python -c "import icrl; print(icrl.__version__)"
```

TypeScript:

```bash theme={null}
node -e "console.log(require('icrl'))"
```
