Line-counter currently supports Intel Macs, M1 ARM Macs, and Linux. The tool has been tested on these platforms and is expected to work on other Unix-like systems as well. If you encounter any issues running line-counter on your system, please let me know by creating an issue on the GitHub repository.
This instruction works for both Linux and macOS.
curl -fsSL https://raw.githubusercontent.com/leonovk/line-counter/master/install.sh | bash
You can enter the following command to verify that the installation was successful.
line-counter --version
Command --help
will offer you a list of possible commands
line-counter -p test
Example output:
RESULT
txt: 2
total: 2
For more detailed information, use the help command:
line-counter --help
Contributions to Line-counter are welcome! If you have a feature request or find a bug, please create an issue on the GitHub repository. Pull requests are also welcome.