First install the typst cli tool
# Ubuntu
sudo snap install typst
# Arch
# MacOs
brew install typst
To preview the document
typst watch --font-path tt-hoves-pro/ttf donor_doc.typ
# Then open http://localhost:3000To generate the pdf
typst compile --font-path tt-hoves-pro/ttf donor_doc.typI recommend using this tool https://github.com/chomosuke/typst-preview.nvim, or using the typst app.