### Install Shopify CLI Source: https://developers.shopify.com Install the Shopify CLI globally using npm, yarn, or pnpm. This command is required before initializing new apps, themes, or storefronts. ```bash npm i -g @shopify/cli@latest ``` ```bash yarn global add @shopify/cli@latest ``` ```bash pnpm add -g @shopify/cli@latest ``` -------------------------------- ### Initialize a new Shopify App Source: https://developers.shopify.com Use the Shopify CLI to initialize a new app. Navigate to your desired directory and run this command to create a new app subdirectory. ```bash shopify app init ``` -------------------------------- ### Initialize a new Shopify Theme Source: https://developers.shopify.com Use the Shopify CLI to initialize a new theme. Navigate to your desired directory and run this command to clone a starter theme into a new subdirectory. ```bash shopify theme init ``` -------------------------------- ### Initialize a new Hydrogen Storefront Source: https://developers.shopify.com Use the Shopify CLI to initialize a new Hydrogen storefront. Navigate to your desired directory and run this command to set up a new Hydrogen storefront in a subdirectory. ```bash shopify hydrogen init ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.