typst
| Version | 2026.144.1443 |
| Repo | box/github.com/opencharly/layer-typst:v2026.240.1854 |
Typst document processor binary (fetched from GitHub releases)
Fetches the latest Typst release for the build arch (the
${BUILD_ARCH}-unknown-linux-musl static tarball) from GitHub and
installs the single typst binary at /usr/local/bin/typst. Typst is
a markup-based typesetting system that compiles .typ source into PDF.
Verifiable end to end: the binary lands at a fixed path,
typst --version prints a parseable version on stdout, and
typst compile turns a minimal .typ source into a real PDF whose
bytes start with the %PDF magic.
Packages
Section titled “Packages”Installed on every distro:
curl
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
run |
install the pinned Typst release tarball (var TYPST_VERSION) — the declarative download verb keeps the content-addressed /tmp/downloads cache, the atomic .part to mv rename, and the stage-user-correct cache mount |
check |
the typst binary is installed at /usr/local/bin/typst |
check |
typst reports a parseable version on stdout |
check |
typst compiles a minimal .typ source into a real PDF whose bytes start with the %PDF magic |