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

# server

> Start the HTTP API server.

```bash theme={null}
kremis server [OPTIONS]
```

Starts the Kremis HTTP API server.

## Options

| Option          | Short | Description             | Default     |
| --------------- | ----- | ----------------------- | ----------- |
| `--host <host>` | `-H`  | Host address to bind to | `127.0.0.1` |
| `--port <port>` | `-p`  | Port to listen on       | `8080`      |

## Examples

```bash theme={null}
# Start with defaults (localhost:8080)
kremis server

# Custom host and port
kremis server -H 0.0.0.0 -p 3000
```

<Warning>
  The server holds an exclusive lock on the redb database. Other CLI commands cannot run while the server is active.
</Warning>
