There are many ways to install Emacs, you could install it from the sources or maybe using a package manager. I’m going to show the way that worked better for me. ;) Let’s see it…
I installed on the Mac OS a ‘mac port’ of emacs 24. I did it with Homebrew but it’s possible to download a version directly of here. To install with Homebrew do:
brew tap railwaycat/emacsmacport
brew install emacs-mac
That’s it! It should be ready to use.
Emacs 24 included a package manager called package.el and it already include a repository called ELPA, but it’s possible to use multiple repositories. In fact I use just one more repository called MELPA.
These are the main packages I use:
ag.el: It’s a front-end to ag. Basically I use it to search for a term in all files of a project.