macOS
brew install sloccountlocal Homebrew formula metadata
sudo port install sloccountMacPorts ports tree · textproc/sloccount/Portfile · source: api.github.com
brew
Count lines of code in many languages. Version 2.26 via Homebrew; verified from local package data.
install
brew install sloccountlocal Homebrew formula metadata
sudo port install sloccountMacPorts ports tree · textproc/sloccount/Portfile · source: api.github.com
sudo apk add sloccountAlpine Linux edge package indexes · sloccount · source: dl-cdn.alpinelinux.org
sudo apt install sloccountDebian stable package indexes · sloccount · source: deb.debian.org
sudo dnf install sloccountFedora Rawhide package metadata · sloccount · source: dl.fedoraproject.org
sudo pacman -S sloccountArch Linux sync databases · sloccount · source: geo.mirror.pkgbuild.com
sudo zypper install c_countopenSUSE Tumbleweed package metadata · c_count · source: download.opensuse.org
overview
Count lines of code in many languages
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ada_count | cli | global executable | |
asm_count | cli | global executable | |
awk_count | cli | global executable | |
break_filelist | cli | global executable | |
c_count | cli | global executable | |
cobol_count | cli | global executable | |
compute_all | cli | global executable | |
compute_sloc_lang | cli | global executable | |
count_extensions | cli | global executable | |
count_unknown_ext | cli | global executable | |
csh_count | cli | global executable | |
erlang_count | cli | global executable | |
exp_count | cli | global executable | |
f90_count | cli | global executable | |
fortran_count | cli | global executable | |
generic_count | cli | global executable | |
get_sloc | cli | global executable | |
get_sloc_details | cli | global executable | |
haskell_count | cli | global executable | |
java_count | cli | global executable | |
jsp_count | cli | global executable | |
lex_count | cli | global executable | |
lexcount1 | cli | global executable | |
lisp_count | cli | global executable | |
make_filelists | cli | global executable | |
makefile_count | cli | global executable | |
ml_count | cli | global executable | |
modula3_count | cli | global executable | |
objc_count | cli | global executable | |
pascal_count | cli | global executable | |
perl_count | cli | global executable | |
php_count | cli | global executable | |
print_sum | cli | global executable | |
python_count | cli | global executable | |
ruby_count | cli | global executable | |
sed_count | cli | global executable | |
sh_count | cli | global executable | |
show_filecount | cli | global executable | |
sloccount | cli | global executable | |
sql_count | cli | global executable | |
tcl_count | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://dwheeler.com/sloccount/
install metadata
| Package key | brew:sloccount |
|---|---|
| Version | 2.26 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sloccount |
| Homepage | https://dwheeler.com/sloccount/ |
| Repository | https://sourceforge.net/p/sloccount/code |
| Upstream docs | https://dwheeler.com/sloccount |
| License | GPL-2.0-or-later |
| Source archive | https://dwheeler.com/sloccount/sloccount-2.26.tar.gz |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sloccount |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
sloccount 2.26+ds-1
programs for counting physical source lines of code (SLOC)
https://www.dwheeler.com/sloccount/
sudo apt install sloccountsloccount 2.26-5.2build1
programs for counting physical source lines of code (SLOC)
http://www.dwheeler.com/sloccount/
sudo apt install sloccountsloccount 2.26-r3
Tool for counting physical Source Lines of Code (SLOC)
https://dwheeler.com/sloccount
sudo apk add sloccountsloccount-doc 2.26-r3
Tool for counting physical Source Lines of Code (SLOC) (documentation)
https://dwheeler.com/sloccount
sudo apk add sloccount-docsloccount 2.26-44.fc44
Measures source lines of code (SLOC) in programs
https://sourceforge.net/projects/sloccount/
sudo dnf install sloccountsloccount 2.26-11
Tools for counting physical source lines of code
https://www.dwheeler.com/sloccount/
sudo pacman -S sloccountsloccount
sudo port install sloccountc_count
sudo port install c_countc_count 7.25-1.3
Source Code Measure Counter for C/C++/Java
https://invisible-island.net/c_count/
sudo zypper install c_countsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.