Hello, friends. You know we really like the terminal. That’s why today we will help you installing Taskwarrior on Linux. With this application, you will be able to manage your TODO list but from the terminal.
If we visit the project website, we have the following definition
Taskwarrior is Free and Open Source Software that manages your TODO list from the command line. It is flexible, fast, and unobtrusive. It does its job then gets out of your way.
Taskwarrior scales to fit your workflow. Use it as a simple app that captures tasks, shows you the list, and removes tasks from that list. Leverage its capabilities though, and it becomes a sophisticated data query tool that can help you stay organized, and get through your work.
So it is outlined as a very practical and useful tool if we have a basic computer or if we like the terminal a lot.
Installing Taskwarrior on Linux
As it is a very light tool and is quite supported on Linux, it is very easy to install.
To do so, open a terminal session and run the command according to the distribution you use
Debian, Ubuntu, and derivatives
sudo apt install taskwarrior
dnf install task
In the case of OpenSuse:
zypper install taskwarrior
In the case of Arch Linux and derivatives:
pacman -S task
So the installation as you can see is quite simple.
Another alternative is to compile from the source code but you can check the instructions.
Using Taskwarrior
The use of taskwarrior is through the task command.
So to add a task you can do it in the following way:
task add [task]
For example:
task add Create a new post for osradar
Output:
Created task 1.
But you can also add a task and assign it a high priority:
task add priority:H Go to hospital
Output:
Created task 2.
And to show all the tasks created, you can use the command taks and next
task next
Output:
ID Age P Description Urg
2 1min H Go to hospital 6
1 1min Create a new post for osradar 0
2 tasks
If you have already completed a task, you can indicate it with the sub-command done and the task ID
For example:
task 2 done
Output:
Completed task 2 'Go to hospital'.
Completed 1 task.
Or if you regret having created one, you can delete it with delete.
task 1 delete
Output:
Delete task 1 'Create a new post for osradar'? (yes/no) yes
Deleting task 1 'Create a new post for osradar'.
Deleted 1 task.
And that’s how easily you can add the tasks.
Conclusion
The terminal is too powerful and you guarantee the community there are even more possibilities. For this, we have a taskwarrior that is very easy to use but at the same time solves the problems by giving an easy to use TODO list manager.
So, you already know about installing Taskwarrior in Linux.