---
name: "typst-init"
section: "1"
platform: "linux"
package: "typst"
version: "1:0.15.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/typst-init"
---

# typst-init(1)

Initializes a new project from a template

## NAME

typst-init - Initializes a new project from a template

## SYNOPSIS

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

## DESCRIPTION

Initializes a new project from a template

## 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.

- **--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.

- **-h**, **--help**

  Print help (see a summary with '-h')

- \<*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.

- \[*DIR*\]

  The project directory, defaults to the template's name
