Observability & CLI / Weond CLI (weoc)

Weond CLI (weoc)

Install the native Rust CLI (weoc v1.2.0) on macOS, Linux, or Windows, authenticate with Device Code Flow, link projects, deploy, roll back, manage env vars, domains, crons, workers, settings, and region policies, self-update with SHA-256 verification, and stream logs from your terminal.

Installation

Install weoc (latest release v1.2.0) with a single command. The installer automatically detects your OS and CPU architecture, downloads the matching release binary, and verifies its SHA-256 checksum. Verify with weoc --version.

macOS & Linux
curl -fsSL https://weond.com/cli | sh
Windows (PowerShell)
irm https://weond.com/cli.ps1 | iex

Prefer building from source? You can install directly from the open-source repository on GitHub (weondhq/cli) using Cargo:

Build from source (Rust / Cargo)
cargo install --git https://github.com/weondhq/cli.git --locked

Connecting your account

Run weoc connect to start an OAuth 2.0 Device Code Flow. Approve the displayed code in your browser at /cli/connect to authorize your terminal session without pasting raw API keys.

terminal
weoc connect
weoc whoami

Command reference

Global flags supported on all commands: --api <url> (or WEOND_API_URL, default https://api.weond.com), -v / --verbose, -V / --version, and -h / --help.

CommandDescription
weoc connectAuthorize the CLI via Device Code Flow in your browser.
weoc whoamiDisplay the currently authenticated account.
weoc createInteractive repository setup to create and link a new Weond project from the terminal.
weoc projects listList projects in your workspace with slugs and statuses.
weoc link <project-slug>Link the current directory to a project via .weond.json.
weoc deploy [slug]Trigger a new deployment (defaults to the linked project when omitted).
weoc rollback <deployment-id> [-p <slug>]Promote or roll back a completed deployment to production.
weoc env list [-p <slug>]List configured environment variable keys for a project.
weoc env set <key> <value> [-p <slug>]Set an environment variable using separate <key> and <value> arguments.
weoc env rm <key> [-p <slug>]Remove an environment variable key from a project.
weoc domains list [-p <slug>]List domains attached to a project.
weoc domains add <hostname> [-p <slug>]Attach a custom domain to a project.
weoc domains verify <domain-id>Trigger DNS and TLS verification for a domain ID.
weoc logs <deployment-id> [-f|--follow] [-n <1..=500>]Fetch or live-stream build/deployment logs for a deployment ID (default limit 100).
weoc disconnectRevoke and clear the local CLI session credentials.