# Download
paypal Flattr this
## I want to download and run
**I'm on Debian or Ubuntu**\ `apt-get install hledger hledger-web` **I'm on Gentoo**\ `emerge hledger hledger-web` **I'm on Red Hat/Fedora/CentOS**\ `yum install hledger hledger-web` **I'm on NixOS**\ `nix-env -iA nixpkgs.haskellPackages.hledger nixpkgs.haskellPackages.hledgerWeb` **I'm on Windows**\ Download, unzip, and run:\ [hledger-0.26-win64.zip](http://hledger.org/downloads/hledger-0.26-win64.zip) (or the [32-bit build](http://hledger.org/downloads/hledger-0.26-win32.zip))\ [hledger-web-0.26-win64.zip](http://hledger.org/downloads/hledger-web-0.26-win64.zip) **I'm on Mac**\ Use stack or cabal (see below)
## I want to build the [latest release](http://hackage.haskell.org/package/hledger) 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 [large data](https://github.com/simonmichael/hledger/issues/275)) 2. `stack --resolver nightly-2015-07-13 setup` (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) Or: 1. Install [GHC](http://haskell.org/ghc) and [cabal](http://haskell.org/cabal/download.html) 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](installing.html) has more notes on this process. [Release Notes](release-notes.html) shows what's new in the hledger packages. ## I want to build the [latest development version](https://github.com/simonmichael/hledger/commits/master) 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 .