---
title: Installation
description: Install SQLsaber in under a minute
---

import { Aside } from '@astrojs/starlight/components';

## Install with uv (recommended)

```bash
uv tool install sqlsaber
```

<Aside type="note">
**Don't have uv?** Install it first:

```bash
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
winget install --id=astral-sh.uv -e
```
</Aside>

## Alternative: pipx

```bash
pipx install sqlsaber
```

## Verify installation

```bash
saber --version
```

## Upgrade

```bash
# uv
uv tool upgrade sqlsaber

# pipx
pipx upgrade sqlsaber
```

## Next: Run your first query

```bash
saber
```

On first launch, SQLsaber walks you through database and AI provider setup. See the [getting started guide](/guides/getting-started) for a full walkthrough.
