Skip to content

tari create

Creates a new Tari template crate from a starter template.

Terminal window
tari create <name> [OPTIONS]

Alias: tari new

ArgumentDescription
<name>Name of the new crate (converted to snake_case)
OptionDescription
-t, --template <ID>Template to use (e.g. “fungible”, “meme_coin”). Prompted if not set.
-o, --output <PATH>Output directory (default: current directory)
--skip-initSkip git initialization
--skip-metadataSkip automatic metadata initialization
-v, --verboseEnable verbose output
Terminal window
# Interactive - prompts for template selection
tari create my-token
# Specify template directly
tari create my-token -t fungible
# Custom output directory, no git init
tari create my-token -o ~/projects --skip-init
  1. Scaffolds a new template crate using cargo-generate from a starter template
  2. Sets up metadata generation (build.rs + [package.metadata.tari-template])
  3. Initializes a git repository