NAME

gcloud beta init - initialize or reinitialize gcloud

SYNOPSIS

gcloud beta init [--no-browser] [--console-only, --no-launch-browser] [--skip-diagnostics] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(BETA) gcloud beta init launches an interactive Getting Started workflow for the gcloud command-line tool. It performs the following setup steps:

gcloud beta init can be used for initial setup of gcloud and to create new or reinitialize gcloud configurations. More information about configurations can be found by running gcloud topic configurations.

Properties set by gcloud beta init are local and persistent, and are not affected by remote changes to the project. For example, the default Compute Engine zone in your configuration remains stable, even if you or another user changes the project-level default zone in the Cloud Platform Console.

To sync the configuration, re-run gcloud beta init.

EXAMPLES

To launch an interactive Getting Started workflow, run:

$ gcloud beta init

To launch an interactive Getting Started workflow without diagnostics, run:

$ gcloud beta init --skip-diagnostics

FLAGS

--no-browser

Prevent the command from launching a browser for authorization.

--console-only, --no-launch-browser

(DEPRECATED) Prevent the command from launching a browser for authorization.

The --console-only/--no-launch-browser are deprecated and will be removed in future updates. Use --no-browser as a replacement.

--skip-diagnostics

Do not run diagnostics.

GCLOUD WIDE FLAGS

These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

NOTES

This command is currently in beta and might change without notice. These variants are also available:

$ gcloud init

$ gcloud alpha init