gcloud emulators spanner

NAME
gcloud emulators spanner - manage your local Spanner emulator
SYNOPSIS
gcloud emulators spannerCOMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
This set of commands allows you to start and use a local Spanner emulator.
EXAMPLES
To start a local Cloud Spanner emulator, run:
gcloudemulatorsspannerstart
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
env-init
Print the commands required to export Spanner emulator's env variables.
notices
Print third-party notices for the local Cloud Spanner emulator.
start
Start a local Cloud Spanner emulator.
NOTES
These variants are also available:
gcloudalphaemulatorsspanner
gcloudbetaemulatorsspanner

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-03 UTC.