app initcommand
command
Create a new app project
Anchor to flagsFlags
The following flags are available for the app init
command:
- Anchor to --client-id <value>--client-id <value>stringenv: SHOPIFY_FLAG_CLIENT_ID
The Client ID of your app. Use this to automatically link your new project to an existing app. Using this flag avoids the app selection prompt.
- Anchor to --flavor <value>--flavor <value>stringenv: SHOPIFY_FLAG_TEMPLATE_FLAVOR
Which flavor of the given template to use.
- Anchor to --no-color--no-colorenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --template <value>--template <value>stringenv: SHOPIFY_FLAG_TEMPLATE
The app template. Accepts one of the following: - <remix|none>
- Any GitHub repo with optional branch and subpath, e.g., https://github.com/Shopify/
/[subpath]#[branch]
- Any GitHub repo with optional branch and subpath, e.g., https://github.com/Shopify/
- Anchor to --verbose--verboseenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output.
- Anchor to -d, --package-manager <value>-d, --package-manager <value>stringenv: SHOPIFY_FLAG_PACKAGE_MANAGER
- Anchor to -n, --name <value>-n, --name <value>stringenv: SHOPIFY_FLAG_NAME
- Anchor to -p, --path <value>-p, --path <value>stringenv: SHOPIFY_FLAG_PATH
Was this section helpful?
App init
shopify app init [flags]
Examples
app init
app init
shopify app init [flags]