typst-update(1)

πŸ“¦
version 0.14.2 Β· 2 versions
, in alpine 3.24, nixos 26.05, opensuse-leap 16.0

πŸ’… 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 if typst update has 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 --revert uses. defaults to a system-dependent location, so like, wherever your system feels like putting it. you can also set this with the TYPST_UPDATE_BACKUP_PATH environment 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 if typst update already ran). want your backup somewhere specific β†’ --backup-path=FILE or TYPST_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