hledger/doc/site/download.md
2015-07-22 15:34:09 -07:00

3.7 KiB
Raw Blame History

Download

paypal Flattr this

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.26-win64.zip (or the 32-bit build)
hledger-web-0.26-win64.zip

Im on Mac
Use stack or cabal (see below)

I want to build the latest release

Recommended:

  1. Download and install stack (on windows, choose the 64-bit version if you will be processing large data)

  2. stack --resolver nightly-2015-07-13 setup

    (if you need GHC, eg on windows. If youre not sure, run the next command and it will tell you)

  3. stack --resolver nightly-2015-07-13 install hledger

    (on windows, stack cant install the latest hledger-web yet)

Or:

  1. Install GHC and cabal
  2. cabal install alex happy (if these are not already in your PATH)
  3. cabal update
  4. cabal sandbox init
  5. cabal install hledger[-web]

The old Installation Guide has more notes on this process. Release Notes shows whats new in the hledger packages.

I want to build the latest development version

  1. git clone https://github.com/simonmichael/hledger.git
  2. cd hledger
  3. stack install (or cabal install as shown above)

I want to run the Ubuntu hledger packages in a virtual machine

Try https://github.com/sciurus/hledger-vagrant.