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

# Quick Start

> Get OpenLinear running in under 5 minutes.

## Prerequisites

* **Node.js 22+** — [Download](https://nodejs.org)
* **pnpm 9+** — `npm install -g pnpm`
* **GitHub account** — For repository access and OAuth

***

## Install

Pick the method that works for your platform:

> [tab] npm (Recommended)
>
> ```bash theme={null}
> npm install -g openlinear
> ```
>
> Works on macOS (Apple Silicon / Intel) and Linux x64.

> [tab] curl
>
> ```bash theme={null}
> curl -fsSL https://rixie.in/api/install | bash
> ```
>
> The installer detects your platform and installs the appropriate binary.

> [tab] Arch Linux
>
> ```bash theme={null}
> paru -S openlinear-bin
> ```
>
> Installs via the AUR package.

> [tab] GitHub Releases
>
> Download the latest release for your platform:
>
> * **macOS**: `.dmg` or `.app.tar.gz`
> * **Linux**: AppImage or `.deb`
>
> → [Latest Release](https://github.com/kaizen403/openlinear/releases/latest)

***

## Launch

```bash theme={null}
openlinear
```

The CLI launcher resolves the desktop binary from `~/Applications/OpenLinear.app` (macOS) or `~/.openlinear/` (Linux) and opens the app.

***

## Connect GitHub

**1. Authenticate**

```bash theme={null}
openlinear github login
```

This opens GitHub in your browser for OAuth, or falls back to device flow. Your token stays on your machine.

**2. Verify**

```bash theme={null}
openlinear github whoami
```

Confirms your GitHub identity is connected.

***

## Create Your First Task

**1. Open the App**

Launch OpenLinear. You'll land on the kanban board.

**2. Connect a Repository**

Click **Source → Edit** in the project config panel. Enter a GitHub repo URL or select from your repositories.

**3. Add a Task**

Click **+ Add task** in the Todo column. Describe what you want:

```
Add a health check endpoint at GET /api/health 
that returns { status: "ok", timestamp: Date.now() }
```

**4. Execute**

Drag the task to **In Progress**, or right-click and select **Execute**. OpenLinear will:

1. Clone the repository
2. Create a branch (`openlinear/<task-id>`)
3. Start the AI agent
4. Write code and commit changes
5. Give you a PR compare URL

**5. Review**

Click the PR link in the task card to review the diff on GitHub. Merge when satisfied.

***

## Configure AI Provider

OpenLinear uses [OpenCode](https://opencode.ai) as the execution engine. You need at least one AI provider configured:

1. Open **Settings** in the sidebar
2. Go to **AI Providers**
3. Add your API key for one of: Anthropic, OpenAI, Google, GitHub Copilot, or any supported provider
4. Select a model in the **Model Selector** dropdown on the board

> [!NOTE]
>
> OpenCode provides free models (Minimix, GLM5, KimiK2.5) that work without an API key.

***

## Next Steps

> [card] [Desktop App Guide](https://openlinear.mintlify.site/desktop/overview)
>
> Learn all the desktop features — kanban board, batch execution, model selection.

> [card] [CLI Reference](https://openlinear.mintlify.site/cli/overview)
>
> Full command reference for the `openlinear` CLI.

> [card] [API Reference](https://openlinear.mintlify.site/api/overview)
>
> REST API for programmatic access to tasks, projects, and execution.

> [card] [Architecture](https://openlinear.mintlify.site/architecture)
>
> Understand how the desktop app, sidecar, and API work together.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.