Skip to content

zooid config

Read and write values in the Zooid CLI configuration file stored at ~/.zooid/state.json.

Sets a configuration value.

Terminal window
npx zooid config set <key> <value>
ArgumentDescription
keyConfiguration key: server, admin-token, or telemetry
valueValue to set

Reads a configuration value.

Terminal window
npx zooid config get <key>
ArgumentDescription
keyConfiguration key to read

Terminal window
# Set the default server URL
npx zooid config set server https://zooid.my-account.workers.dev
# Read the current server URL
npx zooid config get server
# Disable telemetry
npx zooid config set telemetry off
  • Configuration is stored at ~/.zooid/state.json.
  • The server key sets the default server URL used by all commands when a channel is referenced by name instead of full URL.
  • The admin-token key stores the admin token for the default server.
  • Per-server tokens saved via --token flags are also stored in this config file, keyed by server URL.