We all type a lot, but are you any good at it? Did a lot of typing tests in browsers, but never in a PowerShell console 😀 In this small blog post, I will show you how you can use the PwshTyper Module from Shaun Lawrie to train your muscle memory and type faster!
Why PwshTyper?
“My typing speed is trash and instead of working on that I wrote a typing speed tester in PowerShell.”
Source: https://github.com/ShaunLawrie/PwshTyper
How to install
To install the module, you can run the following command:
Install-PSResource -Name PwshTyper
If you don’t have PSResourceGet available, you can also install it using:
Install-Module -Name PwshTyper
After installation, the Invoke-PwshTyper Cmdlet is available.
Note: The PwshTyper Module requires the PwshSpectreConsole to be installed. (It will automatically install it when needed) But… That is only PowerShell v7.4+; this will not work in PowerShell v5.
Starting PwshTyper
You can start a new PwshTyper session by running Invoke-PwshTyper, and that will greet you with a menu in which you can select the different modes (Commandlets, Countries, or Fruits), or a Finger Mode (Pinky, Ring, Middle, and Index). After selecting your preference, you can also use punctuation or title case, or not if you want 🙂 By default, it will run 60 seconds, but you can choose your own value there. (These options are also available as parameters. (-Mode, -Duration, -Punctuation and -TitleCase)
First run
I selected Commandlets in my first run, and the timer will start ticking when you type the first character. (You can use backspace to correct mistyped characters)

Not bad, but 14 mistakes/backspaces and more difficult typing this than a normal sentence in a browser typing test. Did another one, Middle, but wow… Difficult 😀

Wrapping up
And this was a nice example of what PwshSpectreConsole can do, fun to do, and compare scores with your colleagues 🙂 Have a nice rest of the week. Early blog post because I’m going to a soccer match tomorrow (Thursday) and the movies on Friday (Spider-Man!).