#import "mod.typ": *

#show: book-page.with(title: "Tinymist Command Line Interface (CLI)")

== Starting a LSP Server

To start a language server following the #link("https://microsoft.github.io/language-server-protocol/")[Language Server Protocol].

```
tinymist lsp
```

== Starting a Preview Server

To start a preview server, you can use the following command:

```
tinymist preview path/to/main.typ
```

See #link("https://enter-tainer.github.io/typst-preview/standalone.html")[Arguments].
