gcloud emulators spanner - manage your local Spanner emulator
gcloud emulators spanner COMMAND [GCLOUD_WIDE_FLAG ...]
This set of commands allows you to start and use a local Spanner emulator.
To start a local Cloud Spanner emulator, run:
$ gcloud emulators spanner start
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- env-init
Print the commands required to export Spanner emulator's env variables.
- start
Start a local Cloud Spanner emulator.
These variants are also available:
$ gcloud alpha emulators spanner
$ gcloud beta emulators spanner