Dev CLI command reference

Starts a development server for the Sanity Studio

USAGE
  $ sanity dev [--auto-updates] [--host <value>] [--load-in-dashboard] [--port <value>]

FLAGS
      --auto-updates       Automatically update Sanity Studio dependencies
      --host=<value>       Local network interface to listen on (default: localhost)
      --load-in-dashboard  Load the app/studio in the Sanity dashboard
      --port=<value>       TCP port to start server on (default: 3333)

DESCRIPTION
  Start a local development server with live reloading

EXAMPLES
    $ sanity dev --host=0.0.0.0

    $ sanity dev --port=1942

    $ sanity dev --load-in-dashboard

Was this page helpful?

sanity.ioAll Systems Operational© Sanity 2026
Change site theme