Skip to content

Commit b7e5775

Browse files
committed
[ doc ] the installation instruction
1 parent eba7fa7 commit b7e5775

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ in glorious clickable HTML.
3030

3131
## Installation instructions
3232

33+
On Unix-style systems, it should be as simple as
34+
35+
```shell
36+
sh -c "$(curl --proto '=https' --tlsv1.2 -s https://raw.githubusercontent.com/agda/agda-stdlib/refs/heads/master/stdlib-install.sh))"
37+
```
38+
3339
See the [installation instructions](https://github.com/agda/agda-stdlib/blob/master/doc/installation-guide.md) for the latest version of the standard library.
3440

3541
#### Old versions of Agda

doc/installation-guide.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ Installation instructions
33

44
Note: the full story on installing Agda libraries can be found at [readthedocs](http://agda.readthedocs.io/en/latest/tools/package-system.html).
55

6+
7+
## Automated installation on Unix-style systems
8+
9+
Running the following command in a terminal will download the
10+
[installation script](../stdlib-install.sh) and run. It will
11+
ask you some questions about your setup and automatically install
12+
a version of the stdlib compatible with your version of Agda.
13+
14+
```shell
15+
sh -c "$(curl --proto '=https' --tlsv1.2 -s https://raw.githubusercontent.com/agda/agda-stdlib/refs/heads/master/stdlib-install.sh))"
16+
```
17+
18+
## Manual installation
19+
620
Use version v2.3 of the standard library with Agda v2.8.0 or v2.7.0.1. You can find the correct version of the library to use for different Agda versions on the [Agda Wiki](https://wiki.portal.chalmers.se/agda/Libraries/StandardLibrary).
721

822
1. Navigate to a suitable directory `$HERE` (replace appropriately) where

0 commit comments

Comments
 (0)