Start CLI command reference

Alias of `sanity preview`

USAGE
  $ sanity start [OUTPUTDIR]

ARGUMENTS
  [OUTPUTDIR]           Output directory

FLAGS
      --host=<HOST>                 The local network interface at which to listen.
      --port=<PORT>                 TCP port to start server on.

DESCRIPTION
  Starts a server to preview a production build

EXAMPLES
    sanity start --host=0.0.0.0

    sanity start --port=1942

    sanity start some/build-output-dir

Was this page helpful?

sanity.ioAll Systems Operational© Sanity 2026
Change site theme