mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Extended cargo installation instructions (#4168)
Co-authored-by: Henneberg <Henneberg@rohr2.de> Co-authored-by: Yip Coekjan <69834864+Coekjan@users.noreply.github.com>
This commit is contained in:
parent
374b82f8ca
commit
794a215514
15
README.md
15
README.md
@ -118,13 +118,16 @@ Typst's CLI is available from different sources:
|
|||||||
- macOS: `brew install typst`
|
- macOS: `brew install typst`
|
||||||
- Windows: `winget install --id Typst.Typst`
|
- Windows: `winget install --id Typst.Typst`
|
||||||
|
|
||||||
- If you have a [Rust][rust] toolchain installed, you can also install the
|
- If you have a [Rust][rust] toolchain installed, you can install
|
||||||
latest development version with
|
- the latest released Typst version with
|
||||||
`cargo install --git https://github.com/typst/typst --locked typst-cli`. Note that this
|
`cargo install --locked typst-cli`
|
||||||
will be a "nightly" version that may be broken or not yet properly documented.
|
- 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` or build and
|
- Nix users can
|
||||||
run the bleeding edge version with `nix run github:typst/typst -- --version`.
|
- 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 users can run a prebuilt image with
|
||||||
`docker run -it ghcr.io/typst/typst:latest`.
|
`docker run -it ghcr.io/typst/typst:latest`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user