---
title: upgrade
description: Upgrade your Shop Mini configuration to the latest version.
source_url:
  html: 'https://shopify.dev/docs/api/shop-minis/commands/upgrade'
  md: 'https://shopify.dev/docs/api/shop-minis/commands/upgrade.md'
---

# upgrade

Upgrade your Shop Mini configuration to the latest version.

**Note:**

Updates CLI and SDK packages to their latest versions and optionally runs codemods for breaking changes. Run this periodically to get new features, bug fixes, and security updates. The upgrade process preserves your code while updating dependencies.

#### Options

* **--no-codemod**

  **boolean**

  Skip running codemods after upgrading packages.

* **--verbose**

  **boolean**

  Print debugging messages.

* **--yes**

  **boolean**

  Automatically answer prompts with default options.

Examples

### Examples

* ####

  ##### zsh

  ```sh
  npx shop-minis upgrade [options]
  ```

***
