Assuming you don't have a pre-existing copy of `cabal-install`, run:
~~~~
cabal-install $ ./bootstrap.sh # running ./bootstrap.sh from within in cabal-install folder.
~~~~
For more details, and non-unix like systems, see the [README.md in cabal-install](cabal-install/README.md) and [Contributing Guidelines](CONTRIBUTING.md).
Assuming you don't have a pre-existing copy of `cabal-install`,