Skip to content

The Wings CLI

Find commands and the reference generated from CLI help.

Applies to
CLI
macOSLinuxWindows

Verified · v1.4.24

Markdown

Run wings help to find a command, or wings version to check your installed version.

wings help
wings version

The complete command and flag reference is generated from wings help in v1.4.24. Run wings help locally to check the commands available in your installed version. For step-by-step instructions, use these guides:

Task Guide
First installation Getting started
Run, save, or update code Handlers and Runs
Credentials Connections and Secrets
Recurring work Schedules
HTTP and browser apps API Triggers and Web Apps
SQL Databases
Updates and removal Releases

Replace placeholders such as <handler-id> with values shown in your own lists. Pass private values through the dedicated clipboard or standard-input options, not command arguments.

Use an API Trigger to call a Handler from an external service. The CLI's management HTTP API is not supported for external integrations.

New code runs include every ad hoc code attempt (wings run --code, --file, or stdin) and the first run of a new or changed Handler version. The allowance is 300 for Free, including new Free accounts, and 3,000 for members across today and the previous 6 UTC days. Code, normalized connection bindings and the database binding define a version; changing A to B and back to A or deleting and recreating a Handler counts again. Ordinary reruns of the last version counted for that Handler do not count, even on another day or after a platform runtime update. If a schedule retry creates a replacement Worker, that retry counts once, even for the same version. It counts even if a Wings-side failure prevents your code from starting. At the limit, it stops before creating that Worker. This applies to CLI, Schedules, API Triggers, Web Apps and calls from another Handler. At new_code_run_limit_exceeded, check the count and limit with wings usage. resetAt is when the oldest counted day leaves the total; usage may still be at or above the limit afterward. Runs of a new or changed version and retries that create a fresh Worker remain blocked until usage falls below the limit. You can run the last version counted for that Handler normally without consuming another new code run. Other limits still apply.