Taskwarrior is a command-line task management utility designed for organizing todo lists directly from the terminal. It provides support for priorities, projects, due dates, filtering, and task status management. This tutorial shows how to install Taskwarrior on Ubuntu 26.04.
Install Taskwarrior
Begin by refreshing the local package index:
sudo apt update
Install Taskwarrior:
sudo apt install -y taskwarrior
After the installation finishes, verify that the task command is available by checking its version:
task --version
Testing Taskwarrior
Taskwarrior stores tasks and their associated information so they can be managed from the terminal. To add a task, use the task add command followed by its description.
For example, the following commands create two tasks with different projects and due dates:
task add 'Finish Taskwarrior testing' project:work priority:H due:2026-09-04
task add 'Read Taskwarrior documentation' project:learning due:2026-09-05
To display the tasks currently stored in Taskwarrior, run:
task list
A result similar to the following should appear:
ID Age P Project Due Description Urg
1 6s H work 2026-09-04 Finish Taskwarrior testing 16
2 6s learning 2026-09-05 Read Taskwarrior documentation 9.56
2 tasks
Uninstall Taskwarrior
If Taskwarrior is no longer required, it can be removed using the following command:
sudo apt purge --autoremove -y taskwarrior
Taskwarrior local configuration and task database can also be deleted from the home directory:
rm -rf ~/.taskrc ~/.task
Leave a Comment
Cancel reply