Looks like you can compile files as shown here: https://github.com/typst/typst?tab=readme-ov-file#usage