Permalink
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (38 sloc) 1.6 KB

Installation

Note

If you already have installed Jade, you should read the :ref:`migration-from-jade` page first.

Indium supports Emacs 25.3+, works with Chrome (debugging protocol v1.2, see :ref:`chrome_requirements`) and NodeJS, see :ref:`nodejs_requirements`.

Indium is availabe on MELPA, MELPA Stable.

The Indium server

Indium needs to communicate with a small server for evaluation and debugging. Install the server with the following command (prepend sudo on GNU/Linux):

npm install -g indium

Using MELPA

Unless you are already using MELPA, you will have to setup package.el to use MELPA or MELPA Stable repositories. You can follow this documentation.

You can install Indium with the following command:

M-x package-install [RET] indium [RET]

or by adding this bit of Emacs Lisp code to your Emacs initialization file (.emacs or init.el):

(unless (package-installed-p 'indium)
  (package-install 'indium))

If the installation doesn't work try refreshing the package list:

M-x package-refresh-contents [RET]

Manual installation

If you want to install Indium manually, make sure to install websocket.el. Obtain the code of Indium from the repository.

Add the following to your Emacs configuration:

;; load Indium from its source code
(add-to-list 'load-path "~/projects/indium")
(require 'indium)