loc

Count lines of code quickly with language-aware analysis

brewmacoslinux
Try with needOr install directly
Source

About

Count lines of code quickly

Commands

loc

Examples

Count lines of code in current directory$ loc
Count lines of code in a specific directory$ loc ./src
Count lines of code and show detailed language breakdown$ loc --files