---
title: dev
description: Start a local development server.
source_url:
  html: 'https://shopify.dev/docs/api/shop-minis/commands/dev'
  md: 'https://shopify.dev/docs/api/shop-minis/commands/dev.md'
---

# dev

Start a local development server.

**Note:**

Starts a local development server with hot reload. Use this for testing your Mini locally before submission.

#### Options

* **--build-type**

  **'release' | 'nightly' | 'snapshot'**

  The type of build to perform.

* **--host**

  **string**

  The host address for the packager.

* **--snapshot-version**

  **string**

  Specify the snapshot version to use (example: 2.100.0+544).

* **--tunnel**

  **boolean**

  Use ngrok to create a tunnel to the local server.

* **--verbose**

  **boolean**

  Verbose output.

Examples

### Examples

* ####

  ##### zsh

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

***
