Comparison with other tools¶
The main alternative Typst package manager is utpm, which targets the same workflow: developing and publishing local Typst packages. typship is included for completeness — its GitHub repository has been deleted and it hasn't been updated since May 2025, but the crate is still live on crates.io. Feature comparison, accurate as of October 2026:
| Feature | gotpm | utpm v0.3.0 |
typship v0.4.2 |
|---|---|---|---|
| Language | Go | Rust | Rust |
| Scaffold a package | ✅ gotpm init |
✅ utpm prj init |
✅ typship init |
| Local install | ✅ gotpm install |
✅ utpm prj link |
✅ typship install <namespace> |
| Remote install | ✅ gotpm install -r |
✅ utpm pkg install |
✅ typship download <repo> |
| Editable install (symlink) | ✅ gotpm install -e |
✅ utpm prj link --no-copy |
✅ typship dev |
| Publish to Typst Universe | ✅ gotpm publish |
🚧 planned | ✅ typship publish |
| Uninstall | ✅ gotpm uninstall |
✅ utpm pkg unlink |
❌ |
| List packages | ✅ gotpm list |
✅ utpm pkg list |
❌ |
| Version bump | ✅ gotpm bump |
✅ utpm prj bump |
❌ |
| Update deps to latest version | ✅ gotpm update |
✅ utpm prj sync |
❌ |
| Remote install from a subdirectory | ✅ gotpm install -r <repo>//<path> |
❌ | ❌ |
| Dependencies pinned in a lock file | ✅ gotpm add / sync / remove |
❌ | ❌ |
| Fonts (install, pin per project) | ✅ gotpm font |
❌ | ❌ |
| Check that imports resolve | ✅ gotpm check |
❌ | ❌ |
| Self-update | ✅ gotpm self update |
❌ | ❌ |
| Running Pre-, Post-Publish Hooks | ✅ defined in typst.toml |
❌ | ❌ |
| Runtime Dependencies | git — publish only |
git — remote install & publish |
git — remote install only |
gotpm uses flat top-level commands (gotpm install, gotpm uninstall) that are
easy to remember. utpm groups commands under prj/pkg subcommands (e.g.
utpm prj bump, utpm pkg unlink), which might add some mental overhead in
recalling which group a given command lives under.
scripts/bench.sh
uses hyperfine to compare gotpm and utpm on install, uninstall, list, bump,
and update/sync. Requires hyperfine, jq, git, gotpm, and utpm on
$PATH. Everything runs against sandboxed temp directories — it never touches
your real Typst package directory.
./scripts/bench.sh
| Command | gotpm | utpm | Result |
|---|---|---|---|
| Install (local) | 5 ms | 4 ms | utpm 1,3x faster |
| Install (remote git) | 1,14 s | 1,03 s | utpm 1,1x faster |
| Uninstall | 4 ms | 3 ms | utpm 1,4x faster |
| List | 5 ms | 4 ms | utpm 1,2x faster |
| Bump (patch) | 4 ms | 7 ms | gotpm 1,5x faster |
| Update (18 imports) | 343 ms | 5,74 s | gotpm 16,7x faster |
*Benchmarked 2026-10-27 on Darwin 25.6.0 arm64 with gotpm
v0.8.0 and utpm 0.4.1. Results vary by machine and network conditions - run
scripts/bench.sh yourself to reproduce. Whichever tool is faster for a given
command is reported as-is.*