Either download the binary from the GitHub Releases as @AllanChain said, or just follow the README instructions which say
- If you have a 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
So, you can use cargo install --git https://github.com/typst/typst --locked typst-cli
.