Task
Modern task runner and build tool. Define tasks in YAML with dependencies, parallel execution, and cross-platform support.
50 commands
Browse by Topic
Install Task (macOS)
Install Task runner using Homebrew on macOS
Install Task (Linux/macOS script)
Install Task runner using the official install script on Linux or macOS
Check Task version
Verify Task is installed and display the current version
Run default task
Run the default task.
Run specific task
Run a specific task by name.
Run multiple tasks
Run multiple tasks in sequence.
List tasks
List all available tasks.
Run with variables
Run task with variable override.
Force run
Run task ignoring up-to-date check.
Dry run
Print commands without executing.
Show task summary
Display task description and details.
Check task status
Check if a task is up to date.
Run in parallel
Run multiple tasks in parallel.
Set output mode
Group output per task.
Verbose output
Run with verbose logging.
Silent mode
Suppress task header output.
Pass CLI args
Pass arguments to the task via CLI_ARGS.
List all (incl. internal)
List all tasks including internal ones.
Basic task
Basic task definition.
Task with dependencies
Task with dependencies.
Task with preconditions
Task with preconditions.
Init taskfile
Create initial Taskfile.yml.
Internal task
Hidden task not shown in list.
Task aliases
Run task with shorter alias names.
Platform-specific
Run task only on specific OS.
Include taskfiles
Include tasks from other files.
Deferred cleanup
Deferred command runs on exit.
Task description
Add description shown by task -l.
Task summary block
Longer summary shown by --summary.
Ignore errors
Continue even if command fails.
Global variables
Define global variables.
Dynamic variables
Variable from shell command.
Environment variables
Set environment variables.
Dotenv file
Load variables from .env files.
CLI_ARGS variable
Pass through -- args to CLI_ARGS.
Task-level variables
Variables scoped to a single task.
.TASK variable
Built-in variable with current task name.
Task-level env
Set env variables per task.
Watch mode
Run task on file changes.
Define sources
Define sources for smart rebuilds.
Watch interval
Set watch polling interval.
Checksum method
Use checksum to detect file changes.
Timestamp method
Use timestamps for up-to-date checks.
Watch multiple sources
Watch multiple file patterns at once.
Exclude from sources
Exclude specific files from sources.
Namespaced includes
Namespace included tasks with dir context.
Run namespaced task
Run a task from an included namespace.
Output prefixed mode
Prefix output lines with task name.
Output interleaved
Interleave output from parallel tasks.
Remote taskfile
Include a Taskfile from a remote URL.
Discussion
Loading comments...