This document guides you through the installation of Cask.
Cask requires GNU Emacs 24 and Python 2.6 or later on a Unix system. It will not work with Emacs 23 and below, or with other flavours of Emacs, e.g. XEmacs.
Windows support for Cask requires additional work (see Windows Installation and Setup).
To install Cask, run the following command:
$ curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
You can also clone the repository explicitly:
$ git clone https://github.com/cask/cask.git
To upgrade a manual installation, use:
$ cask upgrade-cask
Add Cask to your
Windows Installation and Setup¶
Cask requires the following additional steps to run under Windows.
Both emacs and python need to be added to your
Assuming that python is installed to the default location
c:Python27) and emacs is under
By Command Line¶
> setx PATH "%PATH%;c:\Python27\" > setx PATH "%PATH%;c:\bin\emacs\bin" > setx PATH "%PATH%;%userprofile%\.cask\bin"
Win+Pauseto open System Properties.
Under Windows 7 or newer, click on Advanced system settings.
Under Windows XP, click on the Advanced tab.
Click on Environment Variables....
Under System Variables find
Paththen choose to Edit....
At the end of the listed path, append (include the first
;only if not already present):
If you do not have administrative rights to the machine, add the above to the User Variables
Under User Variables find
Path, and edit. If not present select New... and name it
Append or insert (add a
;at the beginning if