This Cabal Git repository contains the following packages:
- Cabal: the Cabal library package (license)
- Cabal-syntax: the
.cabal
file format library (license) - cabal-install: the package containing the
cabal
tool (license)
The canonical upstream repository is located at https://github.com/haskell/cabal.
Prebuilt binary releases can be obtained from https://www.haskell.org/cabal/download.html.
The cabal-install
binary download for your platform should contain the cabal
executable.
Assuming that you have a pre-existing, recent version of cabal-install
, run:
cabal install cabal-install
To get the latest version of cabal-install
. (You may want to cabal update
first.)
To install the latest version from the Git repository, clone the Git repository and then run:
cabal install --project-file=cabal.project.release cabal-install
Assuming you don't have a pre-existing copy of cabal-install
,
look into bootstrap
directory.