$ brew install haskell-platform
$ cabal update
$ cabal install cabal-install
$ vim ~/.bashrc
> export PATH="$HOME/.cabal/bin:$PATH"
$ source ~/.bashrc
$ cabal --version
cabal-install version 1.20.0.1
using version 1.20.0.0 of the Cabal library
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme