Skip to content

mise tasks validate ​

Check task definitions for errors

Checks each task for dependency cycles; references to tasks that do not exist; #USAGE specs that do not parse; invalid timeout values; aliases that more than one task uses; missing or non-executable file tasks; invalid dir paths and templates; missing shell executables; invalid sources and outputs globs; broken task references in run arrays, empty scripts, and tasks with nothing to run; required daemons that no readable [daemons] section declares; and secrets grants that conflict with the sandbox or [env], or, when the config is trusted, that name keys missing from the secrets source.

Exits 1 if any error is found, so you can run it in CI. Warnings are reported but do not fail the command.

Arguments ​

  • [TASKS]… — Tasks to validate (default: all tasks)

Flags ​

  • --errors-only — Only show errors (skip warnings)
  • --json — Output validation results in JSON format
  • -h --help — Print help

Examples ​

Validate all tasks

mise tasks validate

Validate specific tasks

mise tasks validate build test

Output results as JSON

mise tasks validate --json

Only show errors (skip warnings)

mise tasks validate --errors-only
MIT LicenseCopyright © 2026jdx.dev