typst-update(1)
π typst-update β the self-updater, bestie edition
okay so real talk: this is typst-update, a General Commands Manual page, section 1 of the manual. it's the little self-updater for the Typst CLI, and honestly? it's giving main character energy for like six lines of manpage. let's get into it π«Ά
β¨ NAME β¨
typst-update β the one that does a self update on the Typst CLI π like, it updates itself, no cap.
πΈ SYNOPSIS πΈ
typst-update [--force] [--revert] [--backup-path] [-h|--help] [VERSION]
that's it, that's the whole vibe check. short. iconic. moving on π
π¦ DESCRIPTION π¦
Self update the Typst CLI.
fr fr, that's the description β it self-updates the Typst CLI. lowkey the most self-explanatory sentence in the whole manual and yet here we are, together, reading it. love that for us π
π OPTIONS π
okay bestie, here's the full squad β every single flag, no skipping, i would never π
--forceβ forces a downgrade to an older version. and heads up: this is required for downgrading. so if you're trying to go backwards and it's not working? that's why. it's not broken, you just forgot--forceπ--revertβ reverts to the version from before the last update. but there's a catch, and it's a real one: this is only possible iftypst updatehas previously ran. no previous update, no previous version, no revert. that's just how it is π§--backup-path=FILEβ a custom path to the backup file that gets created on update and that--revertuses. defaults to a system-dependent location, so like, wherever your system feels like putting it. you can also set this with theTYPST_UPDATE_BACKUP_PATHenvironment variable instead of passing the flag. two paths, one destiny β¨-h,--helpβ print help. the classic. the icon. the "i forgot what the flags do" button π«Ά[VERSION]β which version to update to. and if you don't say? it defaults to latest. queen behavior, honestly β
π quick recap so you don't have to scroll: need to go backwards β--force. want your old version back β--revert(only iftypst updatealready ran). want your backup somewhere specific β--backup-path=FILEorTYPST_UPDATE_BACKUP_PATH. confused β-h/--help. want a specific version β[VERSION], otherwise you get latest.
π a lil sign-off π
and that's the whole page, bestie! this was typst-update from the General Commands Manual, and the footer's out here repping typst-update / typst-update(1) β same energy, bookends of the same slay little page. go forth and update responsibly ππ
π¦ where this page comes from
- alpine 3.24: typst-doc 0.14.2-r0 Β· Apache-2.0
- nixos 26.05: typst 0.14.2
- opensuse-leap 16.0: typst 0.12.0-bp160.1.14 Β· Apache-2.0
- opensuse-leap 16.0: typst 0.12.0-bp160.1.14 Β· Apache-2.0
- opensuse-leap 16.0: typst 0.12.0-bp160.1.14 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms