Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sol authored Jul 16, 2024
1 parent 332fcf8 commit 0fd6c45
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,25 @@ Install it with:

cabal update && cabal install --ignore-project doctest

Make sure that Cabal's `bindir` is on your `PATH`.
Make sure that Cabal's `installdir` is on your `PATH`.

On Linux:
On Linux / macOS / BSD:

export PATH="$(cabal -v0 path --installdir):$PATH"

On Mac OS X:

export PATH="$(cabal -v0 path --installdir):$PATH"
```bash
# requires cabal-install version 3.12, or later
export PATH="$(cabal -v0 path --installdir):$PATH"
```
or
```bash
export PATH="$HOME/.local/bin:$PATH"
```

On Windows:
On Windows with PowerShell:

set PATH="%AppData%\cabal\bin\;%PATH%"
```pwsh
# requires cabal-install version 3.12, or later
$Env:PATH = "$(cabal -v0 path --installdir)" + ";" + $Env:PATH
```

## A basic example

Expand Down

0 comments on commit 0fd6c45

Please sign in to comment.