Install Tokei On A Arch, Fedora And MacOS
Install tokei
-
Arch Linux
pacman -S tokeiClick to copy -
Fedora
dnf install tokeiClick to copy -
macOS
brew install tokeiClick to copy
A program that prints out statistics about code.
How to use tokei?
Below are few example commands for tokei that you can use in the terminal.
Get a report on the code in a folder and all subfolders:tokei path/to/folderClick to copyGet a report for a folder excluding `.min.js` files:tokei path/to/folder -e *.min.jsClick to copyPrint out statistics for individual files in a folder:tokei path/to/folder --filesClick to copyGet a report for all files of type Rust and Markdown:tokei path/to/folder -t=Rust,MarkdownClick to copy
To install the latest version of tokei in your favorite operating system just copy the tokei installation command from above and paste it into terminal. It will download and install the latest version of tokei 2026 package in your OS.




