# CLI Commands

MUST use when using the CLI, including debugging job failures and inspecting run...

- Repository: https://github.com/windmill-labs/windmill (18352 stars)
- Category: Testing
- License: see repository
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add windmill-labs/windmill --skill cli-commands -g -a claude-code -y`
Codex: `npx skills add windmill-labs/windmill --skill cli-commands -g -a codex -y`
Cursor: `npx skills add windmill-labs/windmill --skill cli-commands -g -a cursor -y`
Gemini CLI: `npx skills add windmill-labs/windmill --skill cli-commands -g -a gemini-cli -y`

## Description

MUST use when using the CLI, including debugging job failures and inspecting run history via `wmill job`.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Windmill CLI Commands

The Windmill CLI (`wmill`) provides commands for managing scripts, flows, apps, and other resources.

## Global Options

- `--workspace <workspace:string>` - Specify the target workspace. This overrides the default workspace.
- `--debug --verbose` - Show debug/verbose logs
- `--show-diffs` - Show diff informations when syncing (may show sensitive informations)
- `--token <token:string>` - Specify an API token. This will override any stored token.
- `--base-url <baseUrl:string>` - Specify the base URL of the API. If used, --token and --workspace are required and no local remote/workspace already set will be used.
- `--config-dir <configDir:string>` - Specify a custom config directory. Overrides WMILL_CONFIG_DIR environment variable and default ~/.config location.

## Commands

### app

app related commands

**Options:**
- `--json` - Output as JSON (for piping to jq)

**Subcommands:**

The rest: https://github.com/windmill-labs/windmill/blob/HEAD/system_prompts/auto-generated/skills/cli-commands/SKILL.md
