If you don't yet have PowerShell; it is part of the Windows Management Framework and you can get it from the Microsoft download center: Windows Management Framework 3.0
All tested and developed with GNU Emacs 24.1.1 from http://ftp.gnu.org/gnu/emacs/windows/. If you're using another Emacs version under windows, your configuration directories might not match. If this is the case, please report the issue and we will try to fix it.
> (new-object Net.WebClient).DownloadString("https://raw.github.com/senny/cabbage/master/scripts/install.ps1") | iex
> git clone https://github.com/senny/cabbage.git
> cd cabbage
> ./scripts/install.ps1
- Go to your cabbage directory
- Execute the installation script again
> ./scripts/install.ps1
Seriously, if you're not using PowerShell under Windows, you're probably doing it wrong. Here are however the manual installation instructions.
- You need to have emacs and git installed
- Clone the cabbage repository with git:
git clone https://github.com/senny/cabbage.git
- Pull down the submodules: cd the cabbage directory, then run
git submodule init && git submodule update
- Create a
.emacs.d
directory in your%APPDATA%
folder - Copy the file
templates/init.el
from cabbage to%APPDATA%/.emacs.d/init.el
- Replace
"CABBAGE-DIR/"
in theinit.el
with the path to the cabbage checkout - Copy the contents of the
templates/emacs.d
directory to your%APPDATA%/.emacs.d
directory