Shopify CLI for apps
Create, develop, configure, deploy, and debug Shopify apps with Shopify CLI.
Shopify CLI accelerates app development by creating app records, generating extensions, building projects, opening local previews through tunnels, deploying configuration, and streaming app logs.
Create an app
pnpm create @shopify/create-app@latestYou can pass a Shopify app template or a GitHub template URL with the --template flag.
Daily app workflow
shopify app dev
shopify app build
shopify app deploy
shopify app logsApp configuration
Useful commands:
shopify app config linkpulls configuration from the Developer Dashboard and creates or overwrites a local configuration file.shopify app config pullupdates an already linked configuration file.shopify app config usesets the default configuration for app commands.shopify app config validatevalidates app and extension TOML files against schemas.
Extensions and functions
shopify app generate extensioncreates a new app extension.shopify app function buildcompiles the function to WebAssembly for testing.shopify app function runandshopify app function replayhelp test function behavior.shopify app function schemaandshopify app function typegengenerate GraphQL schema/types.
CI/CD
For regular app configuration and extension deployments, integrate shopify app deploy into CI. See CI/CD guide.