Back to Eliza

CLI overview

packages/docs/cli/overview.mdx

2.0.13.1 KB
Original Source

CLI overview

The eliza binary (also published as eliza-ai / elizaai) is the primary way to start the API server, run setup wizards, and manage local configuration from a terminal.

Requirements

  • Node.js 22+ or Bun as documented in Installation.
  • Config and state live under the Eliza state directory (by default ~/.eliza/ when ELIZA_NAMESPACE=eliza).

Global Flags

FlagDescription
--verboseEnable informational runtime logs
--debugEnable debug-level runtime logs
--versionPrint version and exit
--helpShow help for any command

Command map

CommandPurpose
eliza startRun the API server (embedded runtime). eliza run is an alias.
eliza setupFirst-time wizard (keys, workspace)
eliza configureConfiguration guidance (prints env-var help)
eliza configRead config values (get, path, show)
eliza dashboardOpen the Control UI in your browser
eliza modelsShow configured model providers
eliza pluginsPlugin listing, search, install, and management
eliza updateCheck for and install updates
eliza doctorHealth and environment checks
eliza dbDatabase utilities (reset)
eliza benchmarkRun a benchmark task headlessly against the agent

Global options

FlagDescription
-v, --versionPrint version
--verboseEnable informational runtime logs
--debugEnable debug-level runtime logs
--devDev profile: isolate state under ~/.eliza-dev with separate config and ports
--profile <name>Use a named profile (isolates state and config under ~/.eliza-<name>)
--no-colorDisable ANSI colors

Config subcommands

bash
eliza config get <key>   # read a config value
eliza config path        # print resolved config file path
eliza config show        # display all config values grouped by section

Plugin subcommands

bash
eliza plugins list            # browse registry plugins
eliza plugins installed       # show installed plugins
eliza plugins install <name>  # install a plugin from the registry
eliza plugins uninstall <name>  # remove an installed plugin
eliza plugins search <query>  # search plugins by keyword

Global flags

FlagPurpose
--helpShow help for any command
--versionPrint the installed version
--verboseEnable informational runtime logs
--debugEnable debug-level runtime logs
bash
eliza --version
eliza --debug start
eliza plugins --help

Help

Run eliza --help or eliza <command> --help for the exact flags in your build. Implementation lives under eliza/packages/app-core/src/cli/ in the elizaOS submodule (run bun run setup:upstreams to initialize it for development).

Environment

See CLI environment for variables that affect bind addresses, ports, and state paths.