site: download: cleanups
[skip ci]
This commit is contained in:
parent
0defe3951b
commit
768501779c
@ -44,7 +44,9 @@ You have to build it, but that's pretty easy.
|
|||||||
|
|
||||||
1. Install [`stack`](http://haskell-lang.org/get-started).
|
1. Install [`stack`](http://haskell-lang.org/get-started).
|
||||||
On Windows, the 64-bit version is [recommended](https://github.com/simonmichael/hledger/issues/275#issuecomment-123834252).
|
On Windows, the 64-bit version is [recommended](https://github.com/simonmichael/hledger/issues/275#issuecomment-123834252).
|
||||||
On Arch, you [may need to also install GHC manually](https://github.com/simonmichael/hledger/issues/434).
|
On Arch, you [may need to also install GHC manually](https://github.com/simonmichael/hledger/issues/434).\
|
||||||
|
<small>(If you're a [`cabal`](https://www.haskell.org/cabal/) expert, feel free to use that instead, adapting these instructions appropriately.)</small>
|
||||||
|
|
||||||
|
|
||||||
2. `stack install --resolver=nightly hledger [hledger-ui] [hledger-web] [hledger-api]`\
|
2. `stack install --resolver=nightly hledger [hledger-ui] [hledger-web] [hledger-api]`\
|
||||||
On Windows, hledger-ui is [not yet available](https://github.com/coreyoconnor/vty/pull/1).\
|
On Windows, hledger-ui is [not yet available](https://github.com/coreyoconnor/vty/pull/1).\
|
||||||
@ -62,7 +64,6 @@ You have to build it, but that's pretty easy.
|
|||||||
`echo "export PATH=$PATH:~/.local/bin" >> ~/.bashrc && source ~/.bashrc`\
|
`echo "export PATH=$PATH:~/.local/bin" >> ~/.bashrc && source ~/.bashrc`\
|
||||||
Now you can run `hledger --version`, `hledger-ui --version` etc.
|
Now you can run `hledger --version`, `hledger-ui --version` etc.
|
||||||
|
|
||||||
Installing with [`cabal`](https://www.haskell.org/cabal/) is similar, if you're familiar with that.
|
|
||||||
<!--(The exact steps depend on your OS, cabal version and expertise.)-->
|
<!--(The exact steps depend on your OS, cabal version and expertise.)-->
|
||||||
<!--
|
<!--
|
||||||
Short version:\
|
Short version:\
|
||||||
@ -111,14 +112,16 @@ Cabal users can use the `cabal-install.sh` or `cabal.project` files instead.
|
|||||||
|
|
||||||
## D. I want to install all add-on commands
|
## D. I want to install all add-on commands
|
||||||
|
|
||||||
Some experimental hledger commands are not built in, but included in the source as
|
Some experimental commands are not built in to hledger, but
|
||||||
[add-on commands](http://hledger.org/hledger.html#add-on-commands). These include:
|
[included in the source](https://github.com/simonmichael/hledger/tree/master/bin) as
|
||||||
`hledger-check-dates`.
|
[add-on commands](http://hledger.org/hledger.html#add-on-commands):\
|
||||||
|
`hledger-check-dates`,
|
||||||
`hledger-equity`,
|
`hledger-equity`,
|
||||||
`hledger-print-unique`,
|
`hledger-print-unique`,
|
||||||
`hledger-register-match`,
|
`hledger-register-match`,
|
||||||
`hledger-rewrite`,
|
`hledger-rewrite`.
|
||||||
You can install these as follows:
|
|
||||||
|
To install these and make them available in hledger's commands list:
|
||||||
|
|
||||||
1. Install [`stack`](http://haskell-lang.org/get-started) and [git](https://en.wikipedia.org/wiki/Git) (see above)
|
1. Install [`stack`](http://haskell-lang.org/get-started) and [git](https://en.wikipedia.org/wiki/Git) (see above)
|
||||||
2. `git clone http://code.hledger.org hledger` (as above)
|
2. `git clone http://code.hledger.org hledger` (as above)
|
||||||
@ -126,18 +129,20 @@ You can install these as follows:
|
|||||||
4. `bin/compile.sh` (optional, makes them start faster)
|
4. `bin/compile.sh` (optional, makes them start faster)
|
||||||
5. add the hledger `bin/` directory to your `$PATH`
|
5. add the hledger `bin/` directory to your `$PATH`
|
||||||
|
|
||||||
Now the add-on commands will appear in the commands listed by `hledger`.
|
There is also a `hledger-autosync` symbolic link showing how to make
|
||||||
(In addition, there is a `hledger-autosync` symbolic link showing how to make
|
|
||||||
the [ledger-autosync](https://gitlab.com/egh/ledger-autosync) tool available
|
the [ledger-autosync](https://gitlab.com/egh/ledger-autosync) tool available
|
||||||
as a hledger command, if installed.)
|
as a hledger command.
|
||||||
|
|
||||||
Other hledger commands are provided as separate packages, such as:
|
Other commands are published as separate packages:\
|
||||||
`hledger-diff`, `hledger-iadd`, `hledger-interest`, `hledger-irr`.
|
`hledger-diff`,
|
||||||
Some of these are available in Stackage and can be installed with stack as in B above, eg:
|
`hledger-iadd`,
|
||||||
|
`hledger-interest`,
|
||||||
|
`hledger-irr`.
|
||||||
|
|
||||||
`stack install --resolver nightly hledger-interest`
|
Some are available in Stackage and can be installed with stack as in B above:
|
||||||
|
|
||||||
Others may be available only on Hackage, in which case you should specify
|
`stack install --resolver nightly hledger-iadd hledger-interest`
|
||||||
the version number displayed [there](http://hackage.haskell.org/package/hledger-diff). Eg:
|
|
||||||
|
|
||||||
`stack install hledger-diff-0.2.0.7`
|
Others are available only on Hackage, so you must specify the Hackage version number. Eg:
|
||||||
|
|
||||||
|
`stack install hledger-diff-0.2.0.7 hledger-irr-0.1.1.10`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user