hunspell

Spell checker and morphological analyzer for multiple languages

brewmacoslinux
Try with needOr install directly
Source

About

Spell checker and morphological analyzer

Commands

hunspell

Examples

Check spelling in a text file$ hunspell -d en_US myfile.txt
Check spelling interactively with suggestions$ hunspell -i UTF-8 -d en_US document.txt
List available dictionaries$ hunspell -D