Home Command line utilities Wpm – Measure Your Typing Speed From Terminal

Wpm – Measure Your Typing Speed From Terminal

By sk
Published: Last Updated on 6.6K views

Wpm is a command line utility to test and improve your typing speed and accuracy. Using Wpm, you can check and measure your typing speed from Terminal in words per minute in your Linux box. You might already be using any GUI-based utilities for this purpose. However, Wpm has many features that any GUI based typing speed tester utilities have.

Here are the prominent features of Wpm:

  • Over 3700 quotes in the database.
  • Extremely low typing latency.
  • Timer starts when you strike the first key.
  • The completed text will be darkened, so you can focus next text.
  • Keeps separate stats for, e.g. type of keyboard, layout etc.
  • Saves race scores in a CSV file that is compatible with Excel and TypeRacer.
  • Unlike other memory-consuming GUI utilities, it is insanely fast.
  • Free and open source.

Install Wpm

Wpm can be installed using PiP. If you haven't installed pip already, install it as described below depending upon the distribution you use.

On Arch Linux and its derivatives like AntergosManjaro Linux, install pip using the following command:

$ sudo pacman -S python-pip


$ sudo yum install epel-release
$ sudo yum install python-pip

On Fedora:

$ sudo dnf install python-pip

On DebianUbuntuLinux Mint:

$ sudo apt-get install python-pip


$ sudo zypper install python-pip

Once PIP installed, run the following command to install ‘wpm’ utility.

$ sudo pip install wpm

Measure Your Typing Speed From Terminal Using Wpm

Launch wpm by entering the following command:

$ wpm

If you don't find wpm, run the following command to start it:

$ python -m wpm

Once you launched it, you will see some quotes, so you can start practicing by typing those displayed quotes in Terminal. Use the arrow keys or space bar to browse through the quotes. The timer will start when you press the first key. Hit ESC key to quit at any time.


Measure Your Typing Speed From Terminal using Wpm

If you don't want to practice using the built-in quotes, use your own text like below.

$ wpm --load yourfile.txt

For more details, refer the wpm help section.

$ wpm --help
usage: wpm [-h] [--load-json FILENAME] [--load FILENAME] [-V] [--tabs TABS]
 [--keyboard KEYBOARD] [-s] [--stats-file STATS_FILE]

optional arguments:
 -h, --help show this help message and exit
 --load-json FILENAME JSON file containing texts to train on. The format is
 [{"author": "...", "title": "...", "text": "..."},
 --load FILENAME A pure text file to train on.
 -V, --version Show program version
 --tabs TABS If set, expand tabs to this number of spaces
 --keyboard KEYBOARD Records WPM statistics under the given keyboard name
 -s, --stats Shows keyboard statistics
 --stats-file STATS_FILE
 File to record score history to (CSV format)

And, that's all. I hope this helps. If you wanted to improve your typing speed from command line, Wpm is worth trying! Do you know any other typing speed testers? Feel free to let us know them in the comment section below.


You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More