<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikemacs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=192.40.239.178</id>
	<title>WikEmacs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wikemacs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=192.40.239.178"/>
	<link rel="alternate" type="text/html" href="https://wikemacs.org/wiki/Special:Contributions/192.40.239.178"/>
	<updated>2026-04-22T01:11:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wikemacs.org/index.php?title=Installing_Emacs_on_OS_X&amp;diff=47789</id>
		<title>Installing Emacs on OS X</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Installing_Emacs_on_OS_X&amp;diff=47789"/>
		<updated>2017-04-26T15:55:40Z</updated>

		<summary type="html">&lt;p&gt;192.40.239.178: Brew now recommends emacs to be installed as &amp;quot;brew cask install emacs&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;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. &lt;br /&gt;
&lt;br /&gt;
== Emacs 24 ==&lt;br /&gt;
&lt;br /&gt;
=== As a binary package ===&lt;br /&gt;
&lt;br /&gt;
Simply download a binary from [http://emacsformacosx.com Emacs for OSX].&lt;br /&gt;
&lt;br /&gt;
The above binary distribution bundled with up-to-date versions [http://www.gnu.org/software/auctex/ AUCTeX], [http://ess.r-project.org ESS] and a few other useful tools is available &lt;br /&gt;
from [http://vgoulet.act.ulaval.ca/en/emacs/mac/ Vincent Goulet's web site].&lt;br /&gt;
&lt;br /&gt;
=== MacPorts ===&lt;br /&gt;
&lt;br /&gt;
If you have [https://www.macports.org/ MacPorts] installed, you can just do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo port install emacs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to install Emacs 24. The MacPorts installer updates your PATH environment variable, so the MacPorts build of Emacs should be found by your shell before the (outdated) build that comes with Mac OS when you type 'emacs'. If you prefer the Emacs.app build, that's available by executing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo port install emacs-app&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Homebrew ===&lt;br /&gt;
&lt;br /&gt;
Emacs 25 is also available via [http://mxcl.github.com/homebrew/homebrew]. Just type the following incantation in your shell and you’re done:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ brew update&lt;br /&gt;
$ brew install emacs --with-cocoa&lt;br /&gt;
$ brew linkapps emacs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The second step is optional, but it’s recommended if you like to start Emacs from the launchpad or from Spotlight.&lt;br /&gt;
&lt;br /&gt;
Chances are good you have an older version of Emacs installed by default with OS X. It's suggested you to remove that older Emacs version to avoid conflicts with the new one. Do this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ sudo rm /usr/bin/emacs&lt;br /&gt;
$ sudo rm -rf /usr/share/emacs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or just create an alias in your shell and when you invoke 'emacs' it will run the newly installed version:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
$ alias emacs=&amp;quot;/usr/local/Cellar/emacs/24.x/Emacs.app/Contents/MacOS/Emacs -nw&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To make it permanent, if using bash, add that line to ~/.bash_profile.&lt;br /&gt;
&lt;br /&gt;
That’s all folks! You may now proceed to the configuration section.&lt;br /&gt;
&lt;br /&gt;
=== Homebrew recommended by brew ===&lt;br /&gt;
&lt;br /&gt;
Brew now recommends emacs to be installed as&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
brew cask install emacs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
But that doesn't create /usr/local/bin/emacs. &lt;br /&gt;
&lt;br /&gt;
You may follow [https://emacsformacosx.com/tips Emacs for Mac OS X, Tips] on how to create scripts for running emacs and emacsclient.&lt;br /&gt;
&lt;br /&gt;
=== Rudix ===&lt;br /&gt;
&lt;br /&gt;
Emacs is easy to install directly from [http://rudix.org Rudix] as a .pkg or with the Rudix command line tool:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
% sudo rudix install emacs&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Emacs 23 ==&lt;br /&gt;
&lt;br /&gt;
Binaries for Emacs 23 are still available from [http://emacsformacosx.com/builds Emacs for OSX].&lt;br /&gt;
&lt;br /&gt;
== Aquamacs ==&lt;br /&gt;
&lt;br /&gt;
A near-OS-X-native port of GNU Emacs, integrating Emacs with all the features of Mac OS X. Available [http://aquamacs.org/ here]. As of January 2015, the latest version (3.2) is based on Emacs 24.4. Comes bundled with some handy packages like [[AUCTeX]].&lt;br /&gt;
&lt;br /&gt;
[[Category:OS X]][[Category:Beginner]][[Category:Install Or Upgrade]][[Category:Emacs-23]][[Category:Emacs-23.4]][[Category:Emacs-24]]&lt;/div&gt;</summary>
		<author><name>192.40.239.178</name></author>
	</entry>
</feed>