zooid config
Read and write values in the Zooid CLI configuration file stored at ~/.zooid/state.json.
config set
Section titled “config set”Sets a configuration value.
npx zooid config set <key> <value>Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
key | Configuration key: server, admin-token, or telemetry |
value | Value to set |
config get
Section titled “config get”Reads a configuration value.
npx zooid config get <key>Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
key | Configuration key to read |
Examples
Section titled “Examples”# Set the default server URLnpx zooid config set server https://zooid.my-account.workers.dev
# Read the current server URLnpx zooid config get server
# Disable telemetrynpx zooid config set telemetry off- Configuration is stored at
~/.zooid/state.json. - The
serverkey sets the default server URL used by all commands when a channel is referenced by name instead of full URL. - The
admin-tokenkey stores the admin token for the default server. - Per-server tokens saved via
--tokenflags are also stored in this config file, keyed by server URL.