Install the gcloud CLI
- The Google Cloud CLI works on Windows 8.1 and later and Windows Server 2012 and later.
Download the Google Cloud CLI installer.
Alternatively, open a PowerShell terminal and run the following PowerShell commands:
Launch the installer and follow the prompts. The installer is signed by Google LLC.
If you're using a screen reader, check the Turn on screen reader mode checkbox. This option configures
gcloud
to use status trackers instead of unicode spinners, display progress as a percentage, and flatten tables. For more information, see the Accessibility features guide.Cloud SDK requires Python; supported versions are Python 3 (3.5 to 3.9). By default, the Windows version of Cloud SDK comes bundled with Python 3. To use Cloud SDK, your operating system must be able to run a supported version of Python.
The installer installs all necessary dependencies, including the needed Python version. While Cloud SDK installs and manages Python 3 by default, you can use an existing Python installation if necessary by unchecking the option to Install Bundled Python. See
gcloud topic startup
to learn how to use an existing Python installation.After installation is complete, the installer gives you the option to create Start Menu and Desktop shortcuts, start the Google Cloud CLI shell, and configure the gcloud CLI. Make sure that you leave the options to start the shell and configure your installation selected. The installer starts a terminal window and runs the
gcloud init
command.- The default installation doesn't include the App Engine extensions required to deploy an application using
gcloud
commands. These components can be installed using the gcloud CLI component manager.
Troubleshooting tips:
- If your installation is unsuccessful due to the
find
command not being recognized, ensure yourPATH
environment variable is set to include the folder containingfind
. Usually, this isC:\WINDOWS\system32;
. - If you uninstalled the gcloud CLI, you must reboot your system before installing the gcloud CLI again.
- If unzipping fails, run the installer as an administrator.
Source:
https://cloud.google.com/sdk/docs/install
No comments:
Post a Comment