Linux command
taskwarrior 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Add a new task
task add [Buy groceries]
List all pending tasks
task list
Mark task as done
task [1] done
Add task with project and priority
task add [description] project:[Home] priority:[H]
Add task with due date
task add [description] due:[tomorrow]
Add task with tags
task add [description] +[work] +[urgent]
Start working on a task
task [1] start
View detailed task information
task [1] info
Delete a task
task [1] delete
Synchronize tasks
task sync
说明
Taskwarrior (the `task` command) is a command-line TODO list manager. It provides flexible task management with support for projects, priorities, tags, due dates, recurrence, and dependencies. Tasks can be filtered using any attribute, dates, or logical expressions. The tool generates various reports including lists, calendars, and burndown charts. Configuration is stored in `~/.taskrc` with extensive customization options. The tool supports hooks for automation and sync for sharing tasks across devices. Starting with Taskwarrior 3.0 (2024), data is stored in a local SQLite database (`taskchampion.sqlite3`) and synchronization uses a new backend supporting AWS S3, Google Cloud Storage, or `taskchampion-sync-server`. The legacy `taskd` server is no longer supported.
FAQ
What is the taskwarrior command used for?
Taskwarrior (the `task` command) is a command-line TODO list manager. It provides flexible task management with support for projects, priorities, tags, due dates, recurrence, and dependencies. Tasks can be filtered using any attribute, dates, or logical expressions. The tool generates various reports including lists, calendars, and burndown charts. Configuration is stored in `~/.taskrc` with extensive customization options. The tool supports hooks for automation and sync for sharing tasks across devices. Starting with Taskwarrior 3.0 (2024), data is stored in a local SQLite database (`taskchampion.sqlite3`) and synchronization uses a new backend supporting AWS S3, Google Cloud Storage, or `taskchampion-sync-server`. The legacy `taskd` server is no longer supported.
How do I run a basic taskwarrior example?
Run `task add [Buy groceries]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more taskwarrior examples?
This page includes 10 examples for taskwarrior, plus related commands for nearby Linux tasks.