Skip to main content

app init

Create a new app project

The following flags are available for the app init command:

Anchor to --client-id <value>
--client-id <value>
string
env: 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>
string
env: SHOPIFY_FLAG_TEMPLATE_FLAVOR

Which flavor of the given template to use.

Anchor to --no-color
--no-color
''
env: SHOPIFY_FLAG_NO_COLOR

Disable color output.

Anchor to --organization-id <value>
--organization-id <value>
string
env: 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>
string
env: SHOPIFY_FLAG_TEMPLATE

The app template. Accepts one of the following: - <reactRouter|remix|none>

Anchor to --verbose
--verbose
''
env: SHOPIFY_FLAG_VERBOSE

Increase the verbosity of the output.

Anchor to -d, --package-manager <value>
-d, --package-manager <value>
string
env: SHOPIFY_FLAG_PACKAGE_MANAGER
Anchor to -n, --name <value>
-n, --name <value>
string
env: 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>
string
env: SHOPIFY_FLAG_PATH

Was this page helpful?