LoginSignup
44
43

More than 5 years have passed since last update.

caskとpalletを使って、RubyのBundlerのようにpackage.elから管理する

Last updated at Posted at 2014-01-25

1 caskをインストールする(指示通りpathに追加するのを忘れずに)

curl -fsSkL https://raw.github.com/cask/cask/master/go | python

2 caskをアップグレードする

cask upgrade

3 .emacs.d/配下で以下のコマンドを実行して、Caskファイルを作成する

cask init

4 作成されたCaskファイルにpalletを追加

(depends-on "pallet")

5 以下のコマンドでpalletをインストールする

cask install

6 .emacsに以下の設定を追加

(require 'cask "~/.cask/cask.el")
(cask-initialize)
(require 'pallet)

7 これで、何も意識しなくてもpackage.elでいままでどおりインストールするとCaskファイルにその内容が追記されるし、逆にCaskファイルにpackageを追加して5のコマンドを実行しても同じようにインストールされる

8 packageのアップデート

cask update

9 linux,osx,windowsで、違うpackageのEmacsを使う

44
43
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
44
43