Command-line tool
ohcount
brew/ohcount
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Source code line counter
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install ohcount
Linux
brew install ohcount
Related command-line tools
- scc
Fast and accurate code counter with complexity and COCOMO estimates cli code golang cloc complexity sloc sloccount… - sloc
Simple tool to count source lines of code developer-tools cli csharp cloc static-analysis sloc dotnet-tool… - cargo-diff-tools
A tool to hide warning messages reported on source code lines that are not part of a git diff - binutils
GNU binary tools for native development - git-ai
An open source git extension that tracks AI-generated code in your repositories, linking every AI-written line to the… - crystal
Fast and statically typed, compiled language with Ruby-like syntax programming 编程 programming-language language 编程语言 语言 - navi
Interactive cheatsheet tool for the command-line - loc
Count lines of code quickly
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents