TOKEI(1)

๐Ÿ“ฆ
version 15.0.0 ยท 6 versions
, in epel 10, epel 9, fedora 43, fedora 44

๐Ÿ’– TOKEI โ€” bestie edition ๐Ÿ’–

okay so like. this is tokei(1), a User Commands situation, and it counts your code. fast. no cap.


โœจ NAME โœจ

tokei โ€“ Count your code, quickly ๐Ÿงฎ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

tokei [OPTIONS] [input]...

๐Ÿฆ‹ OPTIONS ๐Ÿฆ‹

๐Ÿ“ POSITIONAL ARGUMENTS

  • [input]... โ€” the path (or paths, plural, she's flexible ๐Ÿ’โ€โ™€๏ธ) to the file or directory you want counted. if you just. don't say anything? it defaults to the current directory. main character energy of just showing up as you are.

๐ŸŽ€ OPTIONAL ARGUMENTS

  • -c, --columns <columns> โ€” sets a strict column width for the output. lowkey strict. and heads up: this only works for terminal output, nowhere else.
  • -e, --exclude <exclude> โ€” ignores every file AND directory that matches the pattern. bye bestie ๐Ÿ‘‹ not counted, not seen, not perceived.
  • -f, --files โ€” prints out statistics on individual files. one file at a time, we're getting granular.
  • -i, --input <file_input> โ€” pulls stats from a previous tokei run. you can hand it a file path, or literally the word "stdin" to read from stdin. recycling era โ™ป๏ธโœจ
  • --hidden โ€” counts hidden files. yes, the sneaky ones. we see them now ๐Ÿ‘€
  • -l, --languages โ€” prints out all the supported languages and their extensions. it's giving encyclopedia but make it cute ๐Ÿ“š
  • --no-ignore โ€” do NOT respect ignore files (.gitignore, .ignore, etc.). and bestie, this one is a package deal: it implies --no-ignore-parent, --no-ignore-dot, AND --no-ignore-vcs. all three, at once, no takebacks ๐Ÿ’€
  • --no-ignore-parent โ€” doesn't respect ignore files (.gitignore, .ignore, etc.) in parent directories.
  • --no-ignore-dot โ€” doesn't respect .ignore and .tokeignore files, including the ones sitting in parent directories.
  • --no-ignore-vcs โ€” doesn't respect VCS ignore files (.gitignore, .hgignore, etc.), parent directories included.
  • -o, --output <output> โ€” outputs tokei in a specific format. pick your vibe.
  • --streaming <streaming> โ€” prints the records as (language, path, lines, blanks, code, comments) โ€” either as simple lines or as Json, for batch processing. possible values: simple, json.
  • -s, --sort <sort> โ€” sorts languages based on a column. possible values: files, lines, blanks, code, comments.
  • -r, --rsort <rsort> โ€” reverse sorts languages based on a column. possible values: files, lines, blanks, code, comments.
  • -t, --types <types> โ€” filters output by language type, separated by a comma. like, i.e. -t=Rust,Markdown ๐Ÿฆ€๐Ÿ“
  • -C, --compact โ€” does not print statistics about embedded languages. keeping it tight, keeping it minimal.
  • -n, --num-format <num_format_style> โ€” the format of your printed numbers. your choices are: plain (1234, and yes that's the default), commas (1,234), dots (1.234), or underscores (1_234). > โš ๏ธ cannot be used with --output. like, at all. pick a lane bestie. possible values: commas, dots, plain, underscores.
  • -v, --verbose... โ€” sets the log output level, and it stacks:
    1. shows unknown file extensions,
    2. reserved for future debugging ๐Ÿ‘€ (mysterious. iconic.),
    3. enables file level trace. > not recommended on multiple files, fr fr, it gets LOUD.
  • -h, --help โ€” prints help ๐Ÿซถ
  • -V, --version โ€” prints version ๐Ÿท๏ธ

okay that's the whole thing, you're literally a tokei expert now, obsessed ๐Ÿ’–โœจ

this was tokei(1) from User Commands, version vibes from November 2025 โ€” slay, periodt, go count some code ๐ŸŒˆ๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from
  • epel 10: tokei 14.0.0-7.el10_3 ยท (MIT OR Apache-2.0) AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • epel 9: tokei 15.0.0-2.el9 ยท (MIT OR Apache-2.0) AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • fedora 43: tokei 15.0.0-1.fc43
  • fedora 43: tokei 15.0.0-2.fc43 ยท (MIT OR Apache-2.0) AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • fedora 44: tokei 14.0.0-5.fc44 ยท (MIT OR Apache-2.0) AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • fedora 44: tokei 15.0.0-1.fc44
  • fedora 44: tokei 15.0.0-2.fc44 ยท (MIT OR Apache-2.0) AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms