It is officially supported only on Linux and macOS; Windows (native) is not supported. Because it imports a Unix-specific module (termios), GitHub issues report that it errors out on Windows at ...
One of the delights in Bash, zsh, or whichever shell tickles your fancy in your OSS distribution of choice, is the ease of which you can use scripts. These can be shell scripts, or use the Perl, ...