ispell

Interactive spell checker for multiple languages

brewmacoslinux
Try with needOr install directly
Source

About

International Ispell

Commands

ispellbuildhashmunchlistunsq

Examples

Interactively check spelling in a text file$ ispell document.txt
Check spelling non-interactively and list misspellings$ ispell -l < document.txt
Check spelling with a specific dictionary language$ ispell -d american document.txt