Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Dev

Starts a development server for the Sanity Studio

usage: sanity dev [--port <port>] [--host <host>]

   Starts a development server for the Sanity Studio

Notes
  Changing the hostname or port number might require a new entry to the CORS-origins allow list.

Options
  --port <port> TCP port to start server on. [default: 3333]
  --host <host> The local network interface at which to listen. [default: "127.0.0.1"]

Examples
  sanity dev --host=0.0.0.0
  sanity dev --port=1942

Was this article helpful?