Prerequisites
wxctl is built from source with Rust 1.88 or newer.
Build the binary
target/release/wxctl. Put it on your PATH:
Configure a profile
wxctl init prompts for the URL, auth type, and credentials of each service, then writes them to ~/.wxctl/config.json.
--template skips the interactive prompts and writes a profile with placeholder values — useful for piped input or generating an LLM-readable starting point.
Authentication types
wxctl init writes each service’s auth_type and credentials into ~/.wxctl/config.json. See Profiles & credentials for the supported auth types — apikey, zenapikey, cp4d, hmac, and more — and the fields each one needs.
Active profile
Commands that talk to remote services (plan, apply, destroy, test) use the active profile. It is resolved in this order:
- The
-p, --profile <name>flag - The
WXCTL_PROFILEenvironment variable ~/.wxctl/active_profiledefault
Next steps
Quickstart
Declare resources and run your first plan.

