shopify doc fetch downloads Shopify.dev Markdown documentation
Introduced 2026-06-23 · score 0.96
HOW TO USE IT
When implementing or debugging a Shopify project and you need a Shopify.dev document, run `shopify doc fetch --url <shopify.dev-url>` to print its Markdown; use `--output <path>` to save it to a file.
shopify doc fetch --url https://shopify.dev/docs/api/shopify-clishopify doc fetch --url https://shopify.dev/docs/api/shopify-cli --output docs/shopify-cli.mdWHY THIS HELPS
Fetch Shopify.dev documentation in Markdown while implementing or debugging code in a Shopify project.
REQUIREMENTS AND LIMITATIONS
- Version: 4.3.0
- --url <url> (required): Shopify.dev URL of the document to fetch; only shopify.dev and its subdomains are allowed.
- --output <path>: Write the Markdown to a file instead of stdout; creates missing parent directories.
- Prerequisite: Requires network access. The public endpoint needs no authentication, app, or login.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON