4 ms·
Anyone able to help me out here? How do you get it to install? I tried the Melpa instructions and added the following to my .emacs: (require 'package) ;; Y
by jmount 11y ago
Anyone able to help me out here? How do you get it to install? I tried the Melpa instructions and added the following to my .emacs:
(require 'package) ;; You might already have this line
(add-to-list 'package-archives
'("melpa" . "http://melpa.org/packages/"))
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize) ;; You might already have this line
I bounced emacs, it seemed to come back up okay. But (emacs 24.5.1 OSX) when I type "M-x package-install" it claims magit [No Match]
I use emacs- but I don't tend to customize it much.
- adamrt 11y agoTry "M-x package-list-packages" to see a list and then find it. If it's not there then your package setup is incorrect.
- jmount 11y agoThat did it, thank you.
- gtchessplayer 11y agoM-x package-refresh-contents do this periodically to get your list updated w/ new packages and the latest releases.
- creese 11y agoThe following works pretty well. (defvar packages '(pkg1 pkg2 magit)) (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/" http://melpa.milkbox.net/packages/") t) (package-initialize) (package-refresh-contents) (dolist (p packages) (when (not (package-installed-p p)) (package-install p)))
- txru 11y agoEmacs is an awesome tool, but vanilla emacs is only ok. I highly recommend that you take a couple of days or so and try playing around with packages that apply to your use. That's where it really shines.