Skip to content
Lovelace

ada setup

Inspect setup status and repair the local daemon service

ada setup reports whether first-run onboarding is still needed and whether the local Lattice runtime is installed, then recommends the next step. ada setup repair registers lattice-daemon with the operating system's service manager and starts it.

Provider configuration is not part of ada setup. The first interactive ada chat runs an onboarding wizard that sets up a provider, and ada config provider set configures providers from the command line.

Usage#

bash
ada setup [COMMAND] [OPTIONS]

Running ada setup with no subcommand is the same as ada setup status.

Subcommands#

SubcommandDescription
ada setup statusShow setup status and recommended next steps
ada setup repairInstall, enable, and start lattice-daemon as an OS service

All subcommands accept the global options listed in the command reference.

ada setup status#

bash
ada setup
ada setup status
ada setup status --format json
OptionDescription
--format <FORMAT>table (default) or json

The report contains:

FieldMeaning
Onboarding requiredThe onboarding wizard has not been completed; run ada chat
Localhost runtimeWhether lattice-daemon is on PATH (available or missing)
Recommended next stepsada chat, ada install localhost, ada setup repair, or Setup complete

ada setup repair is recommended when the runtime is installed but the daemon is not both registered as a service and running.

ada setup repair#

Registers lattice-daemon with the native service manager (launchd on macOS, systemd --user on Linux), enables it to start automatically, and starts it if it is not running. Each step is skipped when it is already done, so the command is safe to re-run.

bash
ada setup repair
ada setup repair --format json
OptionDescription
--format <FORMAT>table (default) or json

The report lists the daemon binary path, whether the binary was found, whether the service is installed, enabled, and running, the actions taken, and a next step when the daemon still cannot start.

First-run prompts#

Ada runs automatic first-run setup prompts when they are needed. Pass the global --skip-setup option to bypass them for one invocation, for example in scripts:

bash
ada --skip-setup auth status

Typical first-time setup#

bash
# Install the Ada CLI and the Lattice runtime
curl -fsSL https://d.uselovelace.com/install | sh

# Check what is left to do
ada setup status

# Register and start the daemon as a background service, if recommended
ada setup repair

# Configure a provider and chat (the first chat runs the onboarding wizard)
ada chat
  • ada config - Configure LLM providers from the command line
  • ada doctor - Run system diagnostics
  • ada chat - Runs the onboarding wizard on first use

See the Command Reference for all available commands.