diff options
| author | Julian Henneberg <6606609+JHenneberg@users.noreply.github.com> | 2024-05-25 17:30:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-25 15:30:42 +0000 |
| commit | 794a215514f0bc80ca4f9c86227221c47fdb8a4b (patch) | |
| tree | 25d06d80cf5a4c6f0a83ea1d7c1df70fdd3dfc33 /README.md | |
| parent | 374b82f8cad0d36d36c549a0295b8d14b093c3f9 (diff) | |
Extended cargo installation instructions (#4168)
Co-authored-by: Henneberg <Henneberg@rohr2.de>
Co-authored-by: Yip Coekjan <69834864+Coekjan@users.noreply.github.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -118,13 +118,16 @@ Typst's CLI is available from different sources: - macOS: `brew install typst` - Windows: `winget install --id Typst.Typst` -- If you have a [Rust][rust] toolchain installed, you can also install the - latest development version with - `cargo install --git https://github.com/typst/typst --locked typst-cli`. Note that this - will be a "nightly" version that may be broken or not yet properly documented. - -- Nix users can use the `typst` package with `nix-shell -p typst` or build and - run the bleeding edge version with `nix run github:typst/typst -- --version`. +- If you have a [Rust][rust] toolchain installed, you can install + - the latest released Typst version with + `cargo install --locked typst-cli` + - a development version with + `cargo install --git https://github.com/typst/typst --locked typst-cli` + +- Nix users can + - use the `typst` package with `nix-shell -p typst` + - build and run a development version with + `nix run github:typst/typst -- --version`. - Docker users can run a prebuilt image with `docker run -it ghcr.io/typst/typst:latest`. |
