Skip to content

Commit 5057144

Browse files
committed
DOC: Improved installation documentation.
1 parent af59b6b commit 5057144

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ A library for visualizing graphs in Prolog.
44

55
## Dependencies
66

7-
Install GraphViz:
7+
1. Install [SWI-Prolog](https://www.swi-prolog.org).
8+
9+
2. Install GraphViz:
810

911
```sh
1012
apt install graphviz # Debian, Ubuntu
@@ -13,16 +15,15 @@ dnf install graphviz # Fedora, Red Hat
1315

1416
## Installation
1517

16-
Run the following in [SWI-Prolog](https://www.swi-prolog.org):
18+
Install this library:
1719

18-
```pl
19-
pack_install(prolog_graphviz).
20+
```sh
21+
swipl -g 'pack_install(prolog_graphviz)' -t halt
2022
```
2123

2224
## Use
2325

24-
Once installed, modules from this library can by imported in the
25-
following way:
26+
Once installed, modules from this library are loaded as follows:
2627

2728
```pl
2829
?- [library(gv)].

0 commit comments

Comments
 (0)