app init
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>--client-id <value>stringstringenv: SHOPIFY_FLAG_CLIENT_IDenv: 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>--flavor <value>stringstringenv: SHOPIFY_FLAG_TEMPLATE_FLAVORenv: SHOPIFY_FLAG_TEMPLATE_FLAVOR
Which flavor of the given template to use.
- Anchor to --no-color--no-color--no-color''''env: SHOPIFY_FLAG_NO_COLORenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --organization-id <value>--organization-id <value>--organization-id <value>stringstringenv: SHOPIFY_FLAG_ORGANIZATION_IDenv: SHOPIFY_FLAG_ORGANIZATION_ID
The organization ID. Your organization ID can be found in your Dev Dashboard URL: https://dev.shopify.com/dashboard/
- Anchor to --template <value>--template <value>--template <value>stringstringenv: SHOPIFY_FLAG_TEMPLATEenv: SHOPIFY_FLAG_TEMPLATE
The app template. Accepts one of the following: - <reactRouter|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--verbose--verbose''''env: SHOPIFY_FLAG_VERBOSEenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output.
- Anchor to -d, --package-manager <value>-d, --package-manager <value>-d, --package-manager <value>stringstringenv: SHOPIFY_FLAG_PACKAGE_MANAGERenv: SHOPIFY_FLAG_PACKAGE_MANAGER
- Anchor to -n, --name <value>-n, --name <value>-n, --name <value>stringstringenv: SHOPIFY_FLAG_NAMEenv: SHOPIFY_FLAG_NAME
The name for the new app. When provided, skips the app selection prompt and creates a new app with this name.
- Anchor to -p, --path <value>-p, --path <value>-p, --path <value>stringstringenv: SHOPIFY_FLAG_PATHenv: SHOPIFY_FLAG_PATH
Was this page helpful?