# INSTALLATION

## install rust
```shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```


## install typst from cargo
```shell
cargo install --git https://github.com/typst/typst --locked typst-cli
```


# Some backup information
## website of source code 
[typst_source](https://github.com/typst/typst)

## babbles

You can also watch source files and automatically recompile on changes. This is faster than compiling from scratch each time because Typst has incremental compilation.

```shell
# Watches source files and recompiles on changes.
typst watch file.typ
```

Typst further allows you to add custom font paths for your project and list all of the fonts it discovered:

```shell
# Adds additional directories to search for fonts.
typst compile --font-path path/to/fonts file.typ

# Lists all of the discovered fonts in the system and the given directory.
typst fonts --font-path path/to/fonts

# Or via environment variable (Linux syntax).
TYPST_FONT_PATHS=path/to/fonts typst fonts
```


# imagebed
[weibo_image_bed](https://github.com/Semibold/Weibo-Picture-Store/blob/master/README.md) 