Download the appropriate version for your platform from Hugo Releases.
hugo new site start-hugo
Install PaperMode theme.
hugo new posts/my-first-post.md
hugo server -D
hugo -D
Output will be in ./public/ directory
https://www.simonspavound.com/posts/2020/09/equations-with-katex-in-hugo/