typst Command Examples

Compile a Typst file to PDF. Note: Specifying the output location is optional. More information: https://github.com/typst/typst.

typst init "{{template}}" {{path/to/directory}}

typst compile {{path/to/source.typ}} {{path/to/output.pdf}}

typst watch {{path/to/source.typ}} {{path/to/output.pdf}}

typst --font-path {{path/to/fonts_directory}} fonts