Installation
Requirements
Installation via package.el
package.el
is the built-in package manager in Emacs.
Alchemist.el is available on the two major package.el
community maintained repos - MELPA Stable and MELPA.
You can install Alchemist
with the following command:
M-x package-install [RET] alchemist [RET]
or by adding this bit of Emacs Lisp code to your Emacs initialization file
(.emacs
or init.el
):
(unless (package-installed-p 'alchemist)
(package-install 'alchemist))
If the installation doesn't work try refreshing the package list:
M-x package-refresh-contents [RET]
Keep in mind that MELPA packages are built automatically from
the master
branch, meaning bugs might creep in there from time to
time. Never-the-less, installing from MELPA is the recommended way of
obtaining Alchemist, as the master
branch is normally quite stable and
"stable" (tagged) builds are released somewhat infrequently.
With the most recent builds of Emacs, you can pin Alchemist to always use MELPA Stable by adding this to your Emacs initialization:
(add-to-list 'package-pinned-packages '(alchemist . "melpa-stable") t)
Via el-get
el-get is another popular package manager for Emacs. If you're an el-get user just do M-x el-get-install [RET] alchemist [RET].
Manual
You can install Alchemist manually by placing Alchemist on your load-path
and
require
ing it. Many people favour the folder ~/.emacs.d/vendor
.
(add-to-list 'load-path "~/.emacs.d/vendor/alchemist.el/")
(require 'alchemist)