How do I count lines of code?

Since the goal of the LaunchThrifty Challenge is to write less code, its important that you can reliably count your project’s total lines of code.

If you are a VS Code user, install the VS Code Counter extension and then search the command prompt for “VSCodeCounter: Count lines in workspace”:

VSCode Counter

Running this command will generate a Preview Results.md file with your project’s stats: VSCode Counter Results

If you are not using VS Code, you can install the cloc CLI and then run the cloc command on a file or directory.