Skip to content

Commit

Permalink
update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
flupe committed Oct 1, 2024
1 parent 6f3ad80 commit c282d96
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion docs/source/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,29 @@
- you can navigate the library in [HTML format](https://agda.github.io/agda2hs/lib/),
along with a comprehensive [test suite](https://agda.github.io/agda2hs/test/)

### Installation
### Installation with Cabal

agda2hs is released [on Hackage](https://hackage.haskell.org/package/agda2hs),
and can be installed with Cabal:

```sh
cabal install agda2hs
```

Once installed, the agda2hs prelude bundled with agda2hs
can be registered in the Agda config using the `agda2hs locate` command:

```sh
agda2hs locate >> ~/.agda/libaries
```

Optionally, the agda2hs prelude can also be added as a default global import:

```sh
echo agda2hs >> ~/.agda/defaults
```

### Manual installation

Let `DIR` be the directory in which you start running these shell commands.
```sh
Expand Down

0 comments on commit c282d96

Please sign in to comment.