hledger/doc/site/download.md
Simon Michael 73eecb13de doc: suggest cabal installing alex & happy also
These tools are needed for some deps, eg pretty-show and
language-javascript, and may not have already been installed.
Mentioning them explicitly may reduce a some installation hassles.
2014-12-03 13:43:33 -08:00

3.1 KiB
Raw Blame History

Download

I want to download and run

Im on Debian or Ubuntu
apt-get install hledger hledger-web

Im on Gentoo
emerge hledger hledger-web

Im on Red Hat/Fedora/CentOS
yum install hledger hledger-web

Im on NixOS
nix-env -iA nixpkgs.haskellPackages.hledger nixpkgs.haskellPackages.hledgerWeb

Im on Windows
Download, unzip, and run:
hledger-0.23.3.win32.zip
hledger-web-0.23.3.win32.zip

Im on Mac
Use cabal (see below)

Building and supporting Windows and Mac binaries is costly, so its demand-driven - you can indicate demand by making a project donation of any size. Binaries funded in this way will be linked here. This is a quick way to help the project and your fellow users!

I want to build the latest release with GHC and cabal

cabal install alex happy (if you dont already have these in your path)
cabal sandbox init; cabal update; cabal install hledger-web

Or just cabal install hledger if you dont need the web interface. The Installation Guide describes how to install using cabal in more detail. Release Notes shows whats new in the hledger packages.

I want to build the latest development code

cabal install alex happy (if you dont already have these in your path)
git clone https://github.com/simonmichael/hledger; cd hledger; make sandbox install