mirror of
https://github.com/typst/typst
synced 2025-08-15 07:28:32 +08:00
Update README.md
This commit is contained in:
parent
5cedd38e39
commit
356941bf8d
28
README.md
28
README.md
@ -104,34 +104,22 @@ Let's dissect what's going on:
|
|||||||
</details>
|
</details>
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
It is installation of my unofficial package.
|
||||||
|
|
||||||
Typst's CLI is available from different sources:
|
Typst's CLI is available from different sources:
|
||||||
|
|
||||||
- You can get sources and pre-built binaries for the latest release of Typst
|
- You can get sources and pre-built binaries for the latest release of Typst
|
||||||
from the [releases page][releases]. Download the archive for your platform and
|
from the [releases](https://github.com/NoAIHelper/typst/releases). Download the archive for your platform and
|
||||||
place it in a directory that is in your `PATH`. To stay up to date with future
|
place it in a directory that is in your `PATH`.
|
||||||
releases, you can simply run `typst update`.
|
|
||||||
|
|
||||||
- You can install Typst through different package managers. Note that the
|
- You can install Typst through different package managers. Note that the
|
||||||
versions in the package managers might lag behind the latest release.
|
versions in the package managers might lag behind the latest release.
|
||||||
- Linux:
|
- Windows: download all files from [manifests folder](manifests/n/NoAIHelper/Typst/0.13.1) and install with command
|
||||||
- View [Typst on Repology][repology]
|
`winget install -m path/to/manifests/folder/where/all/files`
|
||||||
- View [Typst's Snap][snap]
|
|
||||||
- macOS: `brew install typst`
|
|
||||||
- Windows: `winget install --id Typst.Typst`
|
|
||||||
|
|
||||||
- If you have a [Rust][rust] toolchain installed, you can install
|
- If you have a [Rust][rust] toolchain installed, you can install
|
||||||
- the latest released Typst version with
|
- git clone or download zip and compile from source
|
||||||
`cargo install --locked typst-cli`
|
`cargo build --release`
|
||||||
- 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 ghcr.io/typst/typst:latest --help`.
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Once you have installed Typst, you can use it like this:
|
Once you have installed Typst, you can use it like this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user