Skip to main content

app build
command

This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to App configuration.

If you're building a theme app extension, then running the build command runs Theme Check against your extension to ensure that it's valid.

The following flags are available for the app build command:

string
env: SHOPIFY_FLAG_CLIENT_ID

The Client ID of your app.

env: SHOPIFY_FLAG_NO_COLOR

Disable color output.

string
env: SHOPIFY_FLAG_PATH

The path to your app directory.

env: SHOPIFY_FLAG_RESET

Reset all your settings.

Anchor to --skip-dependencies-installation
--skip-dependencies-installation
env: SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION

Skips the installation of dependencies. Deprecated, use workspaces instead.

env: SHOPIFY_FLAG_VERBOSE

Increase the verbosity of the output.

Anchor to -c, --config <value>
-c, --config <value>
string
env: SHOPIFY_FLAG_APP_CONFIG

The name of the app configuration.

Was this section helpful?

App build

shopify app build [flags]