Shopify CLI Docs

shopify app init

Create a new app project

Create a new app project

Usage

shopify app init [flags]

Summary

Create a new app project

Flags

  • --client-id <value> string — 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. optional Environment: SHOPIFY_FLAG_CLIENT_ID.
  • --flavor <value> string — Which flavor of the given template to use. optional Environment: SHOPIFY_FLAG_TEMPLATE_FLAVOR.
  • --no-color — Disable color output. optional Environment: SHOPIFY_FLAG_NO_COLOR.
  • --organization-id <value> string — The organization ID. Your organization ID can be found in your Dev Dashboard URL: https://dev.shopify.com/dashboard/<organization-id>. optional Environment: SHOPIFY_FLAG_ORGANIZATION_ID.
  • --template <value> string — The app template. Accepts reactRouter, none, or any GitHub repo with optional branch and subpath, for example https://github.com/Shopify/<repository>/[subpath]#[branch]. optional Environment: SHOPIFY_FLAG_TEMPLATE.
  • --verbose — Increase the verbosity of the output. optional Environment: SHOPIFY_FLAG_VERBOSE.
  • -d, --package-manager <value> string — No description. optional Environment: SHOPIFY_FLAG_PACKAGE_MANAGER.
  • -n, --name <value> string — The name for the new app. When provided, skips the app selection prompt and creates a new app with this name. optional Environment: SHOPIFY_FLAG_NAME.
  • -p, --path <value> string — No description. optional Environment: SHOPIFY_FLAG_PATH.

Official source

On this page