Update README.md

This commit is contained in:
NoAIHelper 2025-03-15 22:45:54 +03:00 committed by GitHub
parent 5cedd38e39
commit 356941bf8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: