---
summary: "CLI reference for `sophiaclaw daemon` (legacy alias for gateway service management)"
read_when:
  - You still use `sophiaclaw daemon ...` in scripts
  - You need service lifecycle commands (install/start/stop/restart/status)
title: "daemon"
---

# `sophiaclaw daemon`

Legacy alias for Gateway service management commands.

`sophiaclaw daemon ...` maps to the same service control surface as `sophiaclaw gateway ...` service commands.

## Usage

```bash
sophiaclaw daemon status
sophiaclaw daemon install
sophiaclaw daemon start
sophiaclaw daemon stop
sophiaclaw daemon restart
sophiaclaw daemon uninstall
```

## Subcommands

- `status`: show service install state and probe Gateway health
- `install`: install service (`launchd`/`systemd`/`schtasks`)
- `uninstall`: remove service
- `start`: start service
- `stop`: stop service
- `restart`: restart service

## Common options

- `status`: `--url`, `--token`, `--password`, `--timeout`, `--no-probe`, `--deep`, `--json`
- `install`: `--port`, `--runtime <node|bun>`, `--token`, `--force`, `--json`
- lifecycle (`uninstall|start|stop|restart`): `--json`

## Prefer

Use [`sophiaclaw gateway`](/cli/gateway) for current docs and examples.
