texshelf
texshelf starts LaTeX and Typst projects from templates. It has a command-line
tool and a website, tex.jjsm.science, that shows
every template with a PDF preview.
One install gives you two commands. texshelf lists LaTeX templates by default
and typshelf lists Typst ones. They are otherwise the same program.
Install
brew install texshelf/tap/texshelf
Without Homebrew, on macOS and Linux:
curl -fsSL https://tex.jjsm.science/install.sh | sh
On Windows, in PowerShell:
irm https://tex.jjsm.science/install.ps1 | iex
Or build from source with Rust 1.82 or newer:
cargo install --git https://github.com/texshelf/texshelf texshelf
First project
texshelf search article
texshelf view article
texshelf init article my-paper
cd my-paper
latexmk -pdf main.tex
view opens the template's prebuilt PDF, so you can look before you download.
init creates the folder, asks for the title and author, and runs git init.
The last line it prints is the command that compiles the document.