https://www.makeuseof.com/master-touch-typing-ktouch-linux/
TT:
To install tt on any Linux distribution, run the following commands on a terminal emulator of your choice:
sudo curl -L https://github.com/lemnos/tt/releases/download/v0.4.2/tt-linux -o /usr/local/bin/tt && sudo chmod +x /usr/local/bin/tt
sudo curl -o /usr/share/man/man1/tt.1.gz -L https://github.com/lemnos/tt/releases/download/v0.4.2/tt.1.gz
To start a new typing test on the Linux terminal, run the tt command in this manner:
tt
To specify the number of words you need in the test, use the -n flag followed by the number. The command given below will generate a test consisting of 35 words:
tt -n 35
You can also choose to classify the words into separate groups. For example, if you want to break down 50 words into five groups of 10 words each, you can run the command like this:
tt -n 10 -g 5
In the above command, the -n flag denotes the number of words in each group, and the -g flag denotes the number of groups that constitute the test.
If you don’t prefer typing random words and want something meaningful instead, you can take a typing test with English quotes instead. Here’s how you can do that:
tt -quotes en