scc counts lines of code across source files and reports them by language, in the style of cloc and SLOCCount. It also estimates code complexity and produces COCOMO effort and cost figures, which suits developers who want a quick overview of a codebase or a rough size estimate for a project.
It is written in pure Go and runs from the command line on Linux and macOS. The source is public under the MIT license, so it can be built, inspected and modified freely. The facts do not list a pricing model beyond the open license.
Alternatives to scc
Products that do a similar job in Developer Tools.
tokei
command-line tool that counts lines of code by language
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
ripgrep
command-line search tool that finds regex matches across directory trees
Alacritty
GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD
bat
command-line file viewer with syntax highlighting and git integration
GitHub CLI
Command line tool for working with GitHub from the terminal
rtk
Command-line proxy that trims dev command output before it reaches an LLM