After updating my mac to CATALINA, I have been dealing with some issues, and one of them is the fact that I can't open EMACS on the terminal:

-bash: emacs: command not found

Anyone with the same issue, and knows how to fix this? Thanks!

5

Best Answer


As of Catalina, Emacs is no longer provided in macOS. You'll have to download it from elsewhere, such as https://emacsforosx.com/ or https://aquamacs.org. There are other packages/distributions/ports listed at https://www.emacswiki.org/emacs/EmacsForMacOS.

If you have one of those packages, you may have to re-install its command line tools/helpers.

If you can live with basic "emacs-like" editing, Catalina includes "mg" text editor. For more info:

man mg

Emacs can be installed on MacOS using Homebrew

$ brew cask install emacs

or Sudo

$ sudo port install emacs-app

If you want the classic command line version you can get it from MacPorts:

sudo port install emacs

You can also get it view HomeBrew.

If you use the brew in Mac, try this:

brew install emacs --no-quarantine --cask