typst-init(1)

πŸ“¦
version 0.14.2 Β· 3 versions
, in alpine 3.24, nixos 26.05

πŸ’– typst-init(1) πŸ’–

Okay bestie, welcome to typst-init(1) from the General Commands Manual β€” the little command that sets up a whole new project from a template, and yes it’s giving main character energy ✨

🌸 NAME 🌸

typst-init β€” Initializes a new project from a template. That’s literally the whole job, and it ate πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

typst-init [--package-path] [--package-cache-path] [-h|--help]
       <TEMPLATE> [DIR]

πŸŽ€ DESCRIPTION πŸŽ€

Initializes a new project from a template. Fresh project, fresh vibe, no cap 🫢

πŸ’… OPTIONS πŸ’…

  • --package-path=DIR β€” Custom path to local packages, defaults to system-dependent location. May also be specified with the TYPST_PACKAGE_PATH environment variable. Slay, but make it path-y 🌈
  • --package-cache-path=DIR β€” Custom path to package cache, defaults to system-dependent location. May also be specified with the TYPST_PACKAGE_CACHE_PATH environment variable. Cache bestie behavior fr fr πŸ’–
  • -h, --help β€” Print help (see a summary with '-h'). Iconic little helper moment πŸ‘‘
  • <TEMPLATE> β€” The template to use, e.g. @preview/charged-ieee. You can specify the version by appending e.g. :0.1.0. If no version is specified, Typst will default to the latest version. Supports both local and published templates. So many possibilities, highkey obsessed πŸ¦‹
  • [DIR] β€” The project directory, defaults to the template’s name. Cozy default behavior, periodt πŸ“

Footer vibes only: source/version says typst-init, manual says typst-init(1), and there’s no date listed β€” so I’m not inventing one, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from