languagetool

Style and grammar checker for multiple languages and file formats

brewmacoslinux
Try with needOr install directly
Source

About

Style and grammar checker

Commands

languagetool

Examples

Check a text file for grammar and style issues$ languagetool --language en-US myfile.txt
Check plain text from stdin$ echo 'This are wrong.' | languagetool --language en-US
Check multiple files and save results to output file$ languagetool --language en-US document.txt > results.txt