Skip to content

clustercode config

Terminal window
clustercode config <subcommand> [arguments]

Set a configuration value:

Terminal window
clustercode config set WORKER_NAME my-dev-machine

Read a configuration value:

Terminal window
clustercode config get WORKER_NAME

Show all configuration values:

Terminal window
clustercode config list

Remove all local ClusterCode config (credentials, worker registration, and settings). Prompts for confirmation before deleting:

Terminal window
clustercode config clear

After clearing, run clustercode login to set up again.

KeyDescription
WORKER_NAMEDisplay name for this worker (max 64 characters)

Only the keys listed above are accepted. Attempting to set an unknown key returns an error.

Location: ~/.clustercode/config.json

{
"WORKER_NAME": "my-dev-machine"
}
Getting Started Concepts Guides CLI Self-Hosting Reference Links