3.6 KiB
3.6 KiB
Download
I want to download and run
| on Windows | Download, unzip, and run hledger-0.26-win64.zip and hledger-web-0.26-win64.zip |
| on Mac | Use stack or cabal (see below) |
| on Debian or Ubuntu |
apt-get install hledger hledger-web
|
| on Gentoo |
emerge hledger hledger-web
|
| on Red Hat, Fedora or CentOS |
yum install hledger hledger-web
|
| on NixOS |
nix-env -iA nixpkgs.haskellPackages.hledger nixpkgs.haskellPackages.hledgerWeb
|
| in a Virtualbox VM | Try https://github.com/sciurus/hledger-vagrant |
I want to build the latest release
Recommended:
Download and install stack (on windows, choose the 64-bit version if you will be processing >50k transactions)
stack --resolver nightly-2015-07-13 setup(do this if you need GHC, eg on windows. If you’re not sure, run the next command and it will tell you)
stack --resolver nightly-2015-07-13 install hledger(on windows, stack can’t install the latest hledger-web yet)
Or:
- Install GHC and cabal
cabal install alex happy(if these are not already in your PATH)cabal updatecabal sandbox initcabal install hledger[-web]
I want to build the latest master branch
git clone https://github.com/simonmichael/hledger.git(shortcut:git clone code.hledger.org hledger)cd hledgerstack install(orcabal sandbox init; cabal install ./hledger{-lib,,-web})
See also the old Installation Guide.

