Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

-bash: emacs: command not found (after updating mac to CATALINA)

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!

like image 693
APORIL Avatar asked Nov 12 '19 10:11

APORIL


People also ask

Is Emacs gone?

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.

Is Emacs installed by default on Mac?

OS X comes with a preinstalled version of Emacs, but alas it is the outdated Emacs 22. Fortunately, obtaining a newer release is really simple. There are several popular ways to do it.

Does macOS have Emacs?

Installation. There are many Emacs clients on macOS. The recommended version on macOS is Emacs Mac Port, but others are good as well.


3 Answers

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

man mg
like image 133
Brian Swift Avatar answered Oct 18 '22 06:10

Brian Swift


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.

like image 13
nega Avatar answered Oct 18 '22 04:10

nega


Emacs can be installed on MacOS using Homebrew

$ brew cask install emacs

or Sudo

$ sudo port install emacs-app
like image 2
Abhishek Avatar answered Oct 18 '22 05:10

Abhishek