Windmill CLI
$ wmill Official Med RiskWindmill CLI (wmill) synchronizes TypeScript/Python/Bash scripts, flows, apps, and resources with Windmill workspaces (wmill sync), runs jobs from JSON inputs, and streams job logs. Diff-aware wmill sync push --dry-run, --json output, and wmill init agent guidelines (AGENTS.md/CLAUDE.md) make it strong for coding agents.
npm install -g windmill-cli Local Git-first wmill sync push --dry-run, script/flow scaffolding, and wmill job logs work natively against local files without MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --json across list/get/config/digest commands, @file.json data inputs, and wmill init agent guidelines (AGENTS.md/CLAUDE.md).
--jsonoutput on list/get/config commandswmill initgeneratesAGENTS.mdandCLAUDE.md
Idempotent wmill sync push --dry-run --show-diffs previews diffs safely, and workspace profiles isolate dev vs prod.
wmill sync push --dry-run --show-diffs- Named workspace profile switching
Cross-platform installation via npm install -g windmill-cli or npx windmill-cli.
- npm package
windmill-cli
Full lifecycle for scripts, flows, apps, triggers, resources, schedules, and step-tree job debugging.
- Covers
sync,script,flow,app,job, andresourcecommands
Official Windmill CLI inside windmill-labs/windmill with active releases and dedicated CLI docs repo.
- Official
windmill-labs/windmillrepository
Comprehensive CLI docs at windmill.dev/docs/advanced/cli plus dedicated windmill-cli-docs reference.
- Official docs and
windmill-labs/windmill-cli-docs
Security, Auth & Guardrails
Stores named workspace remotes, IDs, and UI-generated tokens under ~/.config/windmill, switchable via wmill workspace switch.
AGPL-3.0 open-source core (Apache-2.0 clients); Windmill Cloud has a free tier alongside self-hosted deployments.
# Windmill CLI (`wmill`) Agent Rules - Always run `wmill sync push --dry-run --show-diffs` before pushing local changes. - Pass `--json` on list/get/config queries and verify the active workspace via `wmill config --json`.
Agent-Ready Command Recipes
Safe Read-Only Queries
wmill job list --failed --limit 20 --json
Retrieves recent failed script and flow runs in JSON for root-cause inspection.
wmill script list --json
Lists scripts in the active workspace without modifying remote state.
Controlled Writes & Previews
wmill sync push --dry-run --show-diffs
Computes and displays diffs between local files and the remote Windmill workspace without pushing.
Strengths for Agents
- + Diff-aware
wmill sync push --dry-run --show-diffsprevents accidental workspace overwrites. - +
wmill initscaffoldsAGENTS.mdandCLAUDE.mdalongsidewmill.yaml.
Caveats & Pitfalls
- ! Initial workspace setup (
wmill workspace add) prompts interactively unless~/.config/windmillis pre-populated. - !
wmill docsCLI search requires a Windmill Enterprise workspace.