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

# Native Deployment

> Deploy the Blink Server natively on your machine.

## Prerequisites

* Node.js 22+ or Bun
* Docker (the server needs it to deploy agents)

## Install the Blink Server

```bash theme={null}
npm install -g blink-server
```

## Start the Blink Server

```bash theme={null}
blink-server
```

The server will prompt you to create a Postgres database inside a Docker container. If you'd rather use your own Postgres database, set the `BLINK_POSTGRES_URL` environment variable:

```bash theme={null}
BLINK_POSTGRES_URL=postgresql://user:password@host:port/database
```
