summaryrefslogtreecommitdiff
path: root/docs/typ/install.typ
blob: f4fc7fd3b7800d7faf52a8596d1f6abf1ac1b340 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Installing pardes: the clone and the build, included by setup.typ and by
// the site's landing page, so it is written once. The mirrors come from
// `project` in style.typ.
#import "style.typ": cmd, project

#let first = project.mirrors.first()
#cmd("git clone " + first.clone + " && cd pardes")

With Zig 0.16 (the build fetches everything else):
#cmd("# pardes, in a terminal\nzig build -Dplatform=tty --prefix ~/.local")
#cmd("# pardes-gui, its own window\nzig build -Dplatform=gui --prefix ~/.local")
Then run `pardes` or `pardes FILE`.