Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(require 'package)
(setq package-archives
'(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://stable.melpa.org/packages/")
("melpa-unstable" . "https://melpa.org/packages/")))
(setq package-archive-priorities
'(("melpa" . 50)
("gnu" . 10)
("melpa-unstable" . 0)))
(add-to-list 'package-pinned-packages '(ssh-config-mode . "melpa-unstable") t)
(add-to-list 'package-pinned-packages '(racer . "melpa-unstable") t)
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
;;add the packages which you want to install
(defvar my-packages '(;;buradan ihtiyaclari belirle onlari ac sadece
anzu
))
(dolist (p my-packages)
(when (not (package-installed-p p))
(package-install p)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment