fix bug in preferences
[cabal.git] / README.md
blob025ff18d837997d9a643435e38c0951ea7cac1b7
1 # Cabal [![Hackage version](https://img.shields.io/hackage/v/Cabal.svg?label=Hackage)](https://hackage.haskell.org/package/Cabal) [![Stackage version](https://www.stackage.org/package/Cabal/badge/lts?label=Stackage)](https://www.stackage.org/package/Cabal) [![Build Status](https://secure.travis-ci.org/haskell/cabal.svg?branch=master)](http://travis-ci.org/haskell/cabal) [![Windows build status](https://ci.appveyor.com/api/projects/status/github/haskell/cabal?branch=master&svg=true)](https://ci.appveyor.com/project/23Skidoo/cabal) [![Documentation Status](http://readthedocs.org/projects/cabal/badge/?version=latest)](http://cabal.readthedocs.io/en/latest/?badge=latest)
3 <img src="https://www.haskell.org/cabal/images/Cabal-light.png" align="right">
5 This Cabal Git repository contains the following packages:
7  * [Cabal](Cabal/README.md): the Cabal library package ([license](Cabal/LICENSE))
8  * [cabal-install](cabal-install/README.md): the package containing the `cabal` tool ([license](cabal-install/LICENSE))
10 The canonical upstream repository is located at
11 https://github.com/haskell/cabal.
13 Installing cabal-install (by downloading the binary)
14 ----------------------------------------------------
16 Prebuilt binary releases can be obtained from https://www.haskell.org/cabal/download.html.
17 The `cabal-install` binary download for your platform should contain the `cabal` executable.
19 Installing cabal-install (preferred, with cabal-install)
20 --------------------------------------------------------
22 Assuming that you have a pre-existing, recent version of `cabal-install`, run:
24 ~~~~
25 cabal install cabal-install
26 ~~~~
28 To get the latest version of `cabal-install`. (You may want to `cabal update` first.)
30 To install the latest version from the Git repository, clone the
31 Git repository and then run:
33 ~~~~
34 cabal install --project-file=cabal.project.release cabal-install
35 ~~~~
37 Installing cabal-install without cabal-install
38 ----------------------------------------------
40 Assuming you don't have a pre-existing copy of `cabal-install`,
41 look into `bootstrap` directory.