emacs editor code example Example 1: emacs $ brew cask install emacs Example 2: emacs brew install emacs