|
**on Windows**
|
Download, unzip, and run
[hledger-0.26-win64.zip](http://hledger.org/downloads/hledger-0.26-win64.zip)
and
[hledger-web-0.26-win64.zip](http://hledger.org/downloads/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 Fedora**
|
`yum install hledger`
|
|
**on NixOS**
|
`nix-env -iA nixpkgs.haskellPackages.hledger nixpkgs.haskellPackages.hledgerWeb`
|
|
**in a Virtualbox VM**
|
Try
|
## I want to build the latest release
**[Release notes](release-notes.html)**
Using stack (easiest, recommended):
1. Download and install [stack](https://github.com/commercialhaskell/stack/wiki/Downloads)
(on windows, choose the 64-bit version if you will be processing [>50k transactions](https://github.com/simonmichael/hledger/issues/275))
2. `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)
3. `stack --resolver nightly-2015-07-13 install hledger`
(on windows, stack [can't](https://github.com/commercialhaskell/stack/issues/661) install the latest hledger-web yet)
Using cabal:
1. Install [GHC](http://haskell.org/ghc) and [cabal](http://haskell.org/cabal/download.html)
2. `cabal update`
3. `cabal install alex happy` *(if these are not already in your PATH)*
4. `cabal sandbox init`
5. `cabal install hledger[-web]`
## I want to build the latest [master branch](https://github.com/simonmichael/hledger/commits/master)
1. `git clone https://github.com/simonmichael/hledger.git` (shortcut: `git clone code.hledger.org hledger`)
2. `cd hledger`
3. `stack install` (or `cabal sandbox init; cabal install ./hledger{-lib,,-web}`)
\
\
See also the old [Installation Guide](installing.html).