diff options
author | Александар Симић <asimic@gmail.com> | 2017-07-01 08:11:39 +0100 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2017-07-02 10:21:43 +0300 |
commit | b4a3d2431ddf8562c39d8ba1386c8bdaaa542b63 (patch) | |
tree | 353c5c478ab6cd41d832b77479cfeda26a3e69d2 /doc | |
parent | d4841ce7c6ba315e8f2f5a4f48fcfb5a773d7d59 (diff) |
Installation instructions via use-package
Added a section on installing CIDER via use-package
Diffstat (limited to 'doc')
-rw-r--r-- | doc/installation.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/installation.md b/doc/installation.md index a6ecfc2f..caf98576 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -60,6 +60,36 @@ Stable by adding this to your Emacs initialization: [GNU ELPA repository](https://elpa.gnu.org/). It's the only package repository enabled by default in Emacs and you should not disable it!** +## Installation via use-package + +`use-package` can be used to install CIDER via the `package.el`'s repositories +[MELPA Stable](http://stable.melpa.org) and [MELPA](http://melpa.org). + +If you wanted to install the version of CIDER which is what is to be found in +the `master` branch, declare the following in your Emacs initialization file +(`.emacs` or `init.el`): + +```el +(use-package cider + :ensure t) +``` + +However, if you wanted to be a bit more conservative and only use the stable +releases of CIDER, you'd declare the following: + +```el +(use-package cider + :ensure t + :pin melpa-stable) +``` + +After placing one of the above s-expressions, evaluate it, for it to take effect +by entering: <kbd>C-x C-e</kbd>. + +For further configuration options with `use-package`, consult the +official [use-package repository](https://github.com/jwiegley/use-package). + + ## Installation via el-get CIDER is also available for installation from |