Skip to content
pkgseek
All tools

cloc

Code Metrics

Count blank lines, comments, and source lines of code.

Aliases: cloc

Installation by platform

Package and binary names are factual values and are never translated.

Package verification report

Debian

Verified
package
cloc
binary
cloc
repository
main
sudo apt install cloc

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
trixie/main2.04-1all/usr/bin/cloc

Verified 2026-07-02source

Ubuntu

Repository not indexed
package
cloc
binary
cloc
repository
main/universe
sudo apt install cloc

Verified 2026-07-02source

Arch

Verified
package
cloc
binary
cloc
repository
extra
sudo pacman -S cloc

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
rolling/extra2.10-1any/usr/bin/cloc

Verified 2026-07-02source

Fedora

Verified
package
cloc
binary
cloc
repository
fedora
sudo dnf install cloc

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
42/updates2.08-1.fc42noarch/usr/bin/cloc
43/updates2.10-1.fc43noarch/usr/bin/cloc

Verified 2026-07-02source

Alpine

Verified
package
cloc
binary
cloc
repository
community
sudo apk add cloc

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
3.22/community2.04-r0x86_64/usr/bin/cloc
3.23/community2.06-r0x86_64/usr/bin/cloc
3.24/community2.08-r0x86_64/usr/bin/cloc

Verified 2026-07-02source

Homebrew

Platform outside package index
package
cloc
binary
cloc
repository
homebrew/core
brew install cloc

Verified 2026-07-02source

Commands and flags

Flags are imported with their command-level source and verification date.

cloc

cloc [OPTIONS] FILES

Verified 2026-07-02source

FlagDescriptionSince
--by-fileReport results for each file.—
--jsonWrite output as JSON.—
--exclude-dir <dirs>Exclude comma-separated directories.—
--diffCompare two inputs and report line count changes.—