# Quickstart (/quickstart)

By the end of this page you will:

1. **Install Sapient** with one command
2. **Run a chat model** on your own machine
3. **Serve it** over an OpenAI-compatible API

## Install [#install]

<Tabs items={["macOS & Linux","Windows"]}>
<Tab value="macOS & Linux">
```bash
curl -fsSL https://github.com/openhorizon-labs/sapient-release/releases/latest/download/install.sh | sh
```
</Tab>

<Tab value="Windows">
```powershell
irm https://github.com/openhorizon-labs/sapient-release/releases/latest/download/install.ps1 | iex
```
</Tab>
</Tabs>

## Run a model [#run-a-model]

```bash
# one chat reply (downloads the model on first run); drop -p for an interactive chat
sapient chat qwen2.5-0.5b-q4 -p "Hello! What can you do?"
```

## Serve it [#serve-it]

```bash
# OpenAI-compatible API on :11435
sapient serve
```

## Where next [#where-next]

<Cards>
<Card title="CLI" href="/sapient/cli" />

<Card title="HTTP server" href="/sapient/server" />
</Cards>