Update install instructions with package managers (#419)

This commit is contained in:
Louis Vignoli 2023-03-29 23:08:53 +02:00 committed by GitHub
parent 2ed4212c76
commit b76ae5ca6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,21 @@ Let's dissect what's going on:
## Install and use
You can get sources and pre-built binaries for the latest release of Typst from
the [releases page][releases]. This will give you Typst's CLI which converts
the [releases page][releases].
Typst is also available through several package managers:
```sh
# macOS or Linux using Homebrew
brew install typst
# Arch Linux
pacman -S typst
```
Nix users can use the `typst` package with `nix-shell -p typst` or build and run the bleeding edge version using the `github:typst/typst` flake with `nix run github:typst/typst -- --version`.
This will give you Typst's CLI which converts
Typst sources into PDFs.
```sh