← 返回命令列表

Linux command

ttyper 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start typing test with default words

ttyper

Limit to specific number of words

ttyper -w [25]

Practice with programming language

ttyper -l [rust]

Use custom word file

ttyper -c [/path/to/wordlist.txt]

Practice with specific language file

ttyper -l [python] -w [50]

Show available languages

ttyper --list-languages

说明

ttyper is a terminal-based typing test built with Rust and Ratatui. It measures typing speed in words per minute (WPM) and accuracy, providing immediate visual feedback as you type. The test highlights correct characters in green and incorrect ones in red. Statistics include raw WPM, adjusted WPM (accounting for errors), and accuracy percentage. Results are displayed upon completion. Programming language modes include keywords and common identifiers from each language, making it useful for developers to practice language-specific typing patterns. Custom word lists allow personalized practice sets.

参数

-w, --words _count_
Number of words to include in the test.
-l, --language _lang_
Use words from specified programming language.
-c, --contents _file_
Use custom file as word source.
--list-languages
Display available built-in languages.
-h, --help
Display help information.
-V, --version
Display version information.

FAQ

What is the ttyper command used for?

ttyper is a terminal-based typing test built with Rust and Ratatui. It measures typing speed in words per minute (WPM) and accuracy, providing immediate visual feedback as you type. The test highlights correct characters in green and incorrect ones in red. Statistics include raw WPM, adjusted WPM (accounting for errors), and accuracy percentage. Results are displayed upon completion. Programming language modes include keywords and common identifiers from each language, making it useful for developers to practice language-specific typing patterns. Custom word lists allow personalized practice sets.

How do I run a basic ttyper example?

Run `ttyper` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -w, --words _count_ do in ttyper?

Number of words to include in the test.