How to count lines of source code 13Jul 2020 Install cloc: sudo apt install cloc And then run the command: cloc . Share this: Click to share on Facebook (Opens in new window) Facebook Click to share on X (Opens in new window) X Related