Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link

Icon LinkOptions

The npm create fuels command has several command-line options that you can use to customize your project.

pnpm create fuels@0.88.1 [project-name] [options]

Icon Link-c, --contract

Notifies the tool to include a Sway contract program in your project.

Icon Link-p, --predicate

Notifies the tool to include a Sway predicate program in your project.

Icon Link-s, --script

Notifies the tool to include a Sway script program in your project.

Icon Link--pnpm

Notifies the tool to use pnpm as the package manager to install the necessary dependencies.

Icon Link--npm

Notifies the tool to use npm as the package manager to install the necessary dependencies.

Icon Link-cs, -cp, -sp, -cps

Shorthand to include a combination of contract, script and predicate programs.

Icon Link--verbose

Enables verbose logging. Useful when debugging issues with the tool.

Icon Link-h, --help

Displays a help message with all available options.

Icon Link-V, --version

Displays the version number of the npm create fuels command.