Melpa

From WikEmacs
Revision as of 11:10, 23 November 2015 by Elvince (talk | contribs) (usage melpa url)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

MELPA (Milkypostman's ELPA or Milkypostman's Experimental Lisp Package Archive) - MELPA is a growing collection of package.el-compatible Emacs Lisp packages built automatically on our server from the upstream source code using simple recipes. (Think of it as a server-side version of el-get, or even homebrew.)

It is a version control based package repository for Emacs 24, that is, if you have your package in a version control system, just create a simple recipe for MELPA, and it will automatically fetch the package from your published VCS.

- Github page: https://github.com/milkypostman/melpa

- Official page: http://melpa.milkbox.net/

Usage

Add Melpa url to your init file, before package-initialize:

(require 'package)
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/") t)
(when (< emacs-major-version 24)
  ;; For important compatibility libraries like cl-lib
  (add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/")))
(package-initialize)

Then just use M-x package-list-packages to browse and install packages from MELPA and elsewhere.

Note that MELPA packages will always have higher versions than those from other archives like Marmalade, so if you decide you need non-MELPA versions of specific packages for some reason, extra configuration will be required.