(let ((buffer (url-retrieve-synchronously
(re-search-forward "^$" nil 'move)
(eval-region (point) (point-max))
Evaluate this in Emacs (v.22 or greater), default key is
Ctrl+J. This'll retrieve the el file and then evaluate it. Restart (or re-evaluate your .emacs) file and then
M-x RET package-listwill give you a list of available packages.
M-x RET package-install RET name of packagewill download and install the package.
I used this to get the
highlight-parenthesespackage (useful when you program in Lisp!). Other cool add-ons include: