Spell check for macOS Terminal app?

Is there a spelling library or command line tool that can be installed to use on macOS command line Terminal app so I can speak check what I type into bash?


Solution 1:

You have look installed on your system. You can also grep /usr/share/dict/words. Even, curl with the dict protocol using the match key could be useful for spelling. Both emacs and vim have spellcheck features.

Solution 2:

A couple spell check tools available for macOS via Homebrew are listed below. See if they meet your needs:

  1. ispell: International Ispell is an interactive spell-checking program for Unix which supports a large number of European languages.

    To install via Homebrew run:

    brew install ispell

  2. GNU Aspell: GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker

    To install via Homebrew run:

    brew install aspell