Skip to main content
For namespace aliases when including Taskfiles, see Namespace Aliases.
You can create aliases for tasks to simplify command execution. This lets you define shorter or more intuitive names without renaming the task itself.
Taskfile.yaml
version: '3'
tasks:
  complex-task-name:
    aliases: [complex]
    cmds:
      - echo "This is a complex task name"
You can now run either:
task complex-task-name
# or
task complex

Build docs developers (and LLMs) love