# How to Install Taskwarrior (Terminal Based Todo Application)

Taskwarrior is an open-source, cross-platform time and task management tool. It has a command-line interface rather than a graphical user interface. If you spend a lot of time on Linux terminal (as a developer or system administrator) then constantly switching to a web app or another GUI based todo applications may not be a very productive thing to do. In that case, you may want to try a simple command line application instead. This article explains How to install Taskwarrior in Ubuntu.

To install Taskwarrior, use the following command –

$sudo apt-get install task The sample output should be like this – Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libcgmanager0:i386 libdrm2:i386 libhdb9-heimdal libkdc2-heimdal libntdb1 libpng12-0:i386 libudev1:i386 python-ntdb Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: task 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 861 kB of archives. After this operation, 2,104 kB of additional disk space will be used. Get:1 http://ubuntu.excellmedia.net/archive/ trusty/universe task amd64 2.2.0-3 [861 kB] Fetched 861 kB in 1s (643 kB/s) Selecting previously unselected package task. (Reading database ... 281767 files and directories currently installed.) Preparing to unpack .../task_2.2.0-3_amd64.deb ... Unpacking task (2.2.0-3) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up task (2.2.0-3) ... To use taskwarior, use the following command – $ task

$task add Example task due:Tomorrow In the above command,Example task is a task information. To see the above task, use the following command – $ task

The sample output should be like this –

[task next]

ID Due          Age Urg Description
1 4/26/2016     12s 8.64 Example task

1 task

To find a list of all pending tasks, use the following command –

$task long To complete the task information,completed tasks will no longer show up in the output of “task long”, but can be seen only with “task all”. use the following command- $ task done

To delete the task, use the following command –

$task delete To mark a task as started,use the following command – $ task start

To mark a task as stopped, use the following command –

$task stop To modify an existing task, use the following command – $ task modify

To syncing tasks between multiple computers running task warrior, you have to use dropbox with push,pull, and merge as shown bellow-

## Push

This command pushes the local task data into Dropbox. Now, on the other computer, you can get these tasks.

## Merge

This way, you get to keep your local tasks as well as get any updated tasks from the other computer. You also have the option of pushing the merged task data to Dropbox, use the following command –

$task merge ~/Dropbox/ To get more information about taskwarior, use the following command – $ task help

The sample output should be like this –

Usage: task                               Runs rc.default.command, if specified.
task burndown.daily                       Shows a graphical burndown chart, by day
task burndown.monthly                     Shows a graphical burndown chart, by month
task burndown.weekly                      Shows a graphical burndown chart, by week
task calendar [due| |] [y]                Shows a calendar, with due tasks marked
task colors [sample | legend]             All colors, a sample, or a legend
task columns [substring]                  All supported columns and formatting styles
................................................................................................