---
title: >-
  Shopify CLI: Preview your theme changes using any theme - Shopify developer
  changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/shopify-cli-preview-your-theme-changes-using-any-theme
  md: >-
    https://shopify.dev/changelog/shopify-cli-preview-your-theme-changes-using-any-theme.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: Tools
    handle: tools
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2022-06-07T10:24:24-04:00'
  postedAt: '2022-06-07T00:00:00-04:00'
  updatedAt: '2024-02-02T10:05:05-05:00'
  effectiveAt: '2022-06-07T00:00:00-04:00'
---

June 7, 2022

Tags:

* Tools

# Shopify CLI: Preview your theme changes using any theme

When developing a theme using Shopify CLI, you can now preview your local changes using any theme in a store. To specify a theme, run the Shopify CLI [`theme serve`](https://shopify.dev/themes/tools/cli/theme-commands#serve) command with the new `-t` or `--theme` flag:

```bash
shopify theme serve -t my-unpublished-theme
```

Previously, developers could only preview changes using [development themes](https://shopify.dev/themes/tools/cli#development-themes).

**Caution:** Before running `shopify theme serve`, pull your remote theme to ensure that any recent changes don't get overwritten by your local development files.

Learn more about [previewing your theme using Shopify CLI](https://shopify.dev/themes/tools/cli/getting-started#preview-test-and-share-your-theme).
