---
title: ha-bridge serve
description: Arguments and flags for every ha-bridge serve command.
sidebar:
  label: serve
---

<!-- Generated from src/index.ts by `mise run docs:gen`. Do not edit by hand. -->

Every `ha-bridge serve` command and its help, as `--help` prints it. Each also accepts the [global flags](/commands#global-flags).

## `ha-bridge serve`

```text
DESCRIPTION
  Hold the shared Home Assistant connection and serve it on the bridge socket

USAGE
  ha-bridge serve [flags]

FLAGS
  --socket string    Path to the bridge socket (default: $HA_BRIDGE_SOCK, then $XDG_RUNTIME_DIR/ha-bridge/ha-bridge.sock)
```
