# Getting started

## 1. Install

```
curl -fsSL https://fzkuji.github.io/OpenProgram/install | sh        # macOS, Linux
irm https://fzkuji.github.io/OpenProgram/install.ps1 | iex          # Windows x64, PowerShell
```

| Topic | Fact |
| --- | --- |
| Included | Python, Node.js, Git and the Web UI; nothing else to install |
| Apps | macOS is a DMG, Linux a deb or AppImage, Windows an installer: [Install](https://fzkuji.github.io/OpenProgram/docs/install/install.html#choose) |
| Windows sandbox | Execution is separate |

Platforms, Apps and development checkouts: [Install](https://fzkuji.github.io/OpenProgram/docs/install/install.html).

## 2. Connect a provider

| Where | Does |
| --- | --- |
| App or Web: **Settings → Model services → Add provider** | Three steps: pick a provider, sign in or paste its key (a key already in your environment is offered), then pick its default model and **Start chatting** |
| `openprogram` | First run opens a setup wizard: import a Claude Code, Codex or Gemini CLI login, or paste an API key. Ends in the terminal chat |
| `openprogram setup` | Re-runs the wizard |

**Key already in your environment**

```
export OPENAI_API_KEY=sk-...
openprogram providers discover
openprogram providers adopt env:OPENAI_API_KEY
```

Use the matching `env:<VARIABLE>` for other providers, or pipe a key to `openprogram providers login <provider> --api-key-stdin`. `openprogram providers` lists what is stored.

## 3. Open the Web UI

`openprogram web` starts the worker and opens `http://localhost:18100` signed in. Always open it this way: the bare address typed by hand is not signed in and shows empty lists. Change the port with `openprogram ports --port <p>`.

## 4. Send a message

Type in the terminal chat or the Web input, or from the shell:

```
openprogram --print "Introduce yourself in one sentence"
openprogram --resume <session_id>                         # ids: openprogram sessions list, or the Web sidebar
```

## 5. Add programs

A release bundles no agent programs.

```
openprogram programs install <directory, git URL or owner/repo>
openprogram programs list
```

[Daily use](https://fzkuji.github.io/OpenProgram/docs/start/daily-use.html) · [Models and providers](https://fzkuji.github.io/OpenProgram/docs/models/README.html) · [Agentic Programming](https://fzkuji.github.io/OpenProgram/docs/capabilities/agentic-programming/README.html) · [Interfaces](https://fzkuji.github.io/OpenProgram/docs/interfaces/README.html) · [Installing programs](https://fzkuji.github.io/OpenProgram/docs/capabilities/installing-programs.html)
