---
title: hydrogen setup vite
description: 'EXPERIMENTAL: Upgrades the project to use Vite.'
source_url:
  html: 'https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-setup-vite'
  md: 'https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-setup-vite.md'
api_name: shopify-cli
---

# hydrogen setup vite

EXPERIMENTAL: Upgrades the project to use Vite.

#### Flags

The following flags are available for the `hydrogen setup vite` command:

* **--json-schema**

  **env: SHOPIFY\_FLAG\_JSON\_SCHEMA**

  Print the command's JSON schemas.

* **--path \<value>**

  **string**

  **env: SHOPIFY\_HYDROGEN\_FLAG\_PATH**

  The path to the directory of the Hydrogen storefront. Defaults to the current directory where the command is run.

Examples

### Examples

* ####

  ##### hydrogen setup vite

  ```sh
  shopify hydrogen setup vite [flags]
  ```

***
