CINXE.COM

Quickstart: Install the Google Cloud CLI  |  Google Cloud CLI Documentation

<!doctype html> <html lang="en" dir="ltr"> <head> <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/webhistory"> <meta property="og:site_name" content="Google Cloud"> <meta property="og:type" content="website"><meta name="theme-color" content="#039be5"><meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/cloud/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/css/app.css"> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png"><link rel="canonical" href="https://cloud.google.com/sdk/docs/install-sdk"><link rel="search" type="application/opensearchdescription+xml" title="Google Cloud" href="https://cloud.google.com/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://cloud.google.com/sdk/docs/install-sdk" /><link rel="alternate" hreflang="x-default" href="https://cloud.google.com/sdk/docs/install-sdk" /><link rel="alternate" hreflang="zh-Hans" href="https://cloud.google.com/sdk/docs/install-sdk?hl=zh-cn" /><link rel="alternate" hreflang="fr" href="https://cloud.google.com/sdk/docs/install-sdk?hl=fr" /><link rel="alternate" hreflang="de" href="https://cloud.google.com/sdk/docs/install-sdk?hl=de" /><link rel="alternate" hreflang="id" href="https://cloud.google.com/sdk/docs/install-sdk?hl=id" /><link rel="alternate" hreflang="it" href="https://cloud.google.com/sdk/docs/install-sdk?hl=it" /><link rel="alternate" hreflang="ja" href="https://cloud.google.com/sdk/docs/install-sdk?hl=ja" /><link rel="alternate" hreflang="ko" href="https://cloud.google.com/sdk/docs/install-sdk?hl=ko" /><link rel="alternate" hreflang="pt-BR" href="https://cloud.google.com/sdk/docs/install-sdk?hl=pt-br" /><link rel="alternate" hreflang="es-419" href="https://cloud.google.com/sdk/docs/install-sdk?hl=es-419" /><title>Quickstart: Install the Google Cloud CLI &nbsp;|&nbsp; Google Cloud CLI Documentation</title> <meta property="og:title" content="Quickstart: Install the Google Cloud CLI &nbsp;|&nbsp; Google Cloud CLI Documentation"><meta property="og:url" content="https://cloud.google.com/sdk/docs/install-sdk"><meta property="og:image" content="https://cloud.google.com/_static/cloud/images/social-icon-google-cloud-1200-630.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="630"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary_large_image"><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "headline": "Quickstart: Install the Google Cloud CLI" } </script><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Cloud SDK", "item": "https://cloud.google.com/sdk" },{ "@type": "ListItem", "position": 2, "name": "Documentation", "item": "https://cloud.google.com/sdk/docs" },{ "@type": "ListItem", "position": 3, "name": "Quickstart: Install the Google Cloud CLI", "item": "https://cloud.google.com/sdk/docs/install-sdk" }] } </script> <meta name="gtm_var" data-key="docType" data-value="quickstart"> meta name=&quot;description&quot; content=&quot;Learn how to install Google Cloud CLI and run a few core gcloud CLI commands.&quot;&gt; <link rel="stylesheet" href="/extras.css"></head> <body class="" template="page" theme="cloud-theme" type="article" layout="docs" free-trial display-toc pending> <devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <section class="devsite-wrapper"> <devsite-cookie-notification-bar></devsite-cookie-notification-bar><cloudx-track userCountry="SG"></cloudx-track> <cloudx-utils-init></cloudx-utils-init> <devsite-header keep-tabs-visible> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"> <button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"> <cloudx-tabs-nav class="upper-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Upper tabs"> <tab class="devsite-active"> <a href="https://cloud.google.com/docs" track-metadata-eventdetail="https://cloud.google.com/docs" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - docs-home" track-metadata-module="primary nav" aria-label="Documentation, selected" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" > Documentation </a> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/tech-area-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > Technology areas </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Technology areas" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/tech-area-overviews" track-metadata-position="nav - technology-areas" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/ai-ml" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/ai-ml" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> AI and ML </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-development" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-development" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application development </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/application-hosting" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/application-hosting" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Application hosting </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/compute-area" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/compute-area" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Compute </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/data" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/data" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Data analytics and pipelines </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/databases" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/databases" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Databases </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/dhm-cloud" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/dhm-cloud" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Distributed, hybrid, and multicloud </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/generative-ai" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/generative-ai" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Generative AI </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/industry" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/industry" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Industry solutions </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/networking" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/networking" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Networking </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/observability" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/observability" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Observability and monitoring </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/security" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/security" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Security </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/storage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/storage" track-metadata-position="nav - technology-areas" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Storage </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/docs/cross-product-overviews" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > Cross-product tools </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Cross-product tools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/cross-product-overviews" track-metadata-position="nav - crossproduct" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/access-resources" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/access-resources" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Access and resources management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/costs-usage" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/costs-usage" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Costs and usage management </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/devtools" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/devtools" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud SDK, languages, frameworks, and tools </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/iac" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/iac" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Infrastructure as code </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/docs/migration" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/docs/migration" track-metadata-position="nav - crossproduct" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Migration </div> </a> </li> </ul> </div> </div> </div> </tab> <tab class="devsite-dropdown devsite-clickable "> <a href="https://cloud.google.com/" track-metadata-eventdetail="https://cloud.google.com/" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > Related sites </a> <a href="#" role="button" aria-haspopup="true" aria-expanded="false" aria-label="Dropdown menu for Related sites" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" class="devsite-tabs-dropdown-toggle devsite-icon devsite-icon-arrow-drop-down"></a> <div class="devsite-tabs-dropdown" aria-label="submenu" hidden> <button class="devsite-tabs-close-button material-icons button-flat gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close dropdown menu" aria-label="Close dropdown menu" track-type="nav" track-name="close" track-metadata-eventdetail="#" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav">close</button> <div class="devsite-tabs-dropdown-content"> <div class="devsite-tabs-dropdown-column "> <ul class="devsite-tabs-dropdown-section "> <li class="devsite-nav-item"> <a href="https://cloud.google.com/" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Home </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/free" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/free" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Free Trial and Free Tier </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/architecture" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/architecture" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Architecture Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/blog" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Blog </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/contact" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/contact" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Contact Sales </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/developers" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/developers" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" track-type="nav" track-metadata-eventdetail="https://developers.google.com/" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Developer Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" track-type="nav" track-metadata-eventdetail="https://console.cloud.google.com/marketplace" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/marketplace/docs" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/marketplace/docs" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Marketplace Documentation </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" track-type="nav" track-metadata-eventdetail="https://www.cloudskillsboost.google/paths" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Skills Boost </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/solutions" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/solutions" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Solution Center </div> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/support-hub" track-type="nav" track-metadata-eventdetail="https://cloud.google.com/support-hub" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Support </div> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" track-type="nav" track-metadata-eventdetail="https://www.youtube.com/@googlecloudtech" track-metadata-position="nav - related-sites" track-metadata-module="tertiary nav" tooltip > <div class="devsite-nav-item-title"> Google Cloud Tech Youtube Channel </div> </a> </li> </ul> </div> </div> </div> </tab> </nav> </cloudx-tabs-nav> </div> <devsite-search enable-signin enable-search enable-suggestions project-name="Google Cloud CLI Documentation" tenant-name="Google Cloud" project-scope="/sdk/docs" url-scoped="https://cloud.google.com/s/results/sdk/docs" > <form class="devsite-search-form" action="https://cloud.google.com/s/results" method="GET"> <div class="devsite-search-container"> <button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"> <input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value="" > <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"> <kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> <devsite-user enable-profiles fp-auth id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section "> <div class="devsite-header-background"> <div class="devsite-product-id-row" hidden> <div class="devsite-product-description-row"> </div> </div> <div class="devsite-doc-set-nav-row"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/sdk" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Lower Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Cloud SDK" > Cloud SDK </a> </li> </ul> <cloudx-tabs-nav class="lower-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Lower tabs"> <tab class="devsite-active"> <a href="https://cloud.google.com/sdk/docs/install-sdk" track-metadata-eventdetail="https://cloud.google.com/sdk/docs/install-sdk" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - guides" track-metadata-module="primary nav" aria-label="Guides, selected" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" > Guides </a> </tab> <tab > <a href="https://cloud.google.com/sdk/gcloud/reference" track-metadata-eventdetail="https://cloud.google.com/sdk/gcloud/reference" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - reference" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" > Reference </a> </tab> <tab > <a href="https://cloud.google.com/sdk/docs/getting-support" track-metadata-eventdetail="https://cloud.google.com/sdk/docs/getting-support" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - support" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Support" track-name="support" > Support </a> </tab> <tab > <a href="https://cloud.google.com/sdk/docs/resources" track-metadata-eventdetail="https://cloud.google.com/sdk/docs/resources" class="devsite-tabs-content gc-analytics-event " track-type="nav" track-metadata-position="nav - resources" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" > Resources </a> </tab> </nav> </cloudx-tabs-nav> <div class="devsite-product-button-row"> <a href="https://cloud.google.com/contact" class="cta-button-secondary button " track-metadata-eventDetail="nav" track-type="contact" track-metadata-position="nav" data-overflow-container="left" data-overflow="devsite-tabs-wrapper" track-name="sales" data-overflow-wrapper="tab" >Contact Us</a> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary " data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" data-overflow="devsite-top-logo-row" track-name="gcpCta" track-type="freeTrial" track-metadata-position="nav" data-overflow-container="right" track-metadata-eventDetail="nav" referrerpolicy="no-referrer-when-downgrade" >Start free</a> </div> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars > <div class="devsite-book-nav-filter" > <span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"> <button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"> <a href="/" class="devsite-site-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Site logo" track-type="globalNav" track-name="googleCloud" track-metadata-position="nav" track-metadata-eventDetail="nav"> <picture> <img src="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg" class="devsite-site-logo" alt="Google Cloud"> </picture> </a> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" > <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> </li> </ul> </span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"> <a href="/docs" class="devsite-nav-title gc-analytics-event devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Documentation" track-name="docs-home" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Documentation" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Documentation </span> </a> <ul class="devsite-nav-responsive-tabs"> <li class="devsite-nav-item"> <a href="/sdk/docs/install-sdk" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Guides" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip menu="_book"> Guides </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="_book"> </span> </a> </li> <li class="devsite-nav-item"> <a href="/sdk/gcloud/reference" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Reference" track-name="reference" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Reference" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Reference </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/sdk/docs/getting-support" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Support" track-name="support" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Support" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Support </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/sdk/docs/resources" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Resources" track-name="resources" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Resources" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Resources </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/tech-area-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Technology areas" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Technology areas </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Technology areas" track-name="technology-areas" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Technology areas"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Technology areas"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/docs/cross-product-overviews" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Cross-product tools" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Cross-product tools </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Cross-product tools" track-name="crossproduct" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Cross-product tools"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Cross-product tools"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Related sites" track-type="globalNav" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Related sites </span> </a> <ul class="devsite-nav-responsive-tabs devsite-nav-has-menu "> <li class="devsite-nav-item"> <span class="devsite-nav-title" tooltip data-category="Site-Wide Custom Events" data-label="Tab: Related sites" track-name="related-sites" track-link-column-type="single-column" > <span class="devsite-nav-text" tooltip menu="Related sites"> More </span> <span class="devsite-nav-icon material-icons" data-icon="forward" menu="Related sites"> </span> </span> </li> </ul> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/" class="devsite-nav-title gc-analytics-event " track-type="globalNav" referrerpolicy="no-referrer-when-downgrade" track-metadata-position="nav" track-name="console" track-metadata-eventDetail="nav" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Console" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Console </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="cta-button-secondary button" track-metadata-eventDetail="nav" track-type="contact" track-metadata-position="nav" data-overflow-container="left" data-overflow="devsite-tabs-wrapper" track-name="sales" data-overflow-wrapper="tab" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Us" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Us </span> </a> </li> <li class="devsite-nav-item"> <a href="//console.cloud.google.com/freetrial" class="cloud-free-trial-button cta-button-primary button-primary button cloud-button cloud-button--primary" data-overflow-class="devsite-header-link devsite-top-button button cloud-free-trial-button cloud-free-trial-enabled cloud-button cloud-button--primary" data-overflow="devsite-top-logo-row" track-name="gcpCta" track-type="freeTrial" track-metadata-position="nav" data-overflow-container="right" track-metadata-eventDetail="nav" referrerpolicy="no-referrer-when-downgrade" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Start free" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Start free </span> </a> </li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>gcloud CLI</span> </div></li> <li class="devsite-nav-item"><a href="/cli" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /cli" track-type="bookNav" track-name="click" track-metadata-eventdetail="/cli" ><span class="devsite-nav-text" tooltip>Product overview</span></a></li> <li class="devsite-nav-item"><a href="/sdk/gcloud" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/gcloud" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/gcloud" ><span class="devsite-nav-text" tooltip>gcloud CLI overview</span></a></li> <li class="devsite-nav-item"><a href="/sdk/docs/cheatsheet" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/cheatsheet" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/cheatsheet" ><span class="devsite-nav-text" tooltip>gcloud CLI cheat sheet</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>Quickstart</span> </div></li> <li class="devsite-nav-item"><a href="/sdk/docs/install-sdk" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/install-sdk" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/install-sdk" ><span class="devsite-nav-text" tooltip>Install the Google Cloud CLI</span></a></li> <li class="devsite-nav-item devsite-nav-heading"><div class="devsite-nav-title devsite-nav-title-no-path"> <span class="devsite-nav-text" tooltip>How-to guides</span> </div></li> <li class="devsite-nav-item"><a href="/sdk/docs/how-to" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/how-to" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/how-to" ><span class="devsite-nav-text" tooltip>All how-to guides</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Installing the gcloud CLI</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/sdk/docs/install" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/install" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/install" ><span class="devsite-nav-text" tooltip>Recommended installation</span></a></li><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Other installation methods</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Using Docker</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/sdk/docs/downloads-docker" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/downloads-docker" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/downloads-docker" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/sdk/docs/migrate-docker-images" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/migrate-docker-images" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/migrate-docker-images" ><span class="devsite-nav-text" tooltip>Migrate to the :stable image</span></a></li></ul></div></li><li class="devsite-nav-item"><a href="/sdk/docs/downloads-snap" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/downloads-snap" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/downloads-snap" ><span class="devsite-nav-text" tooltip>Using a snap package</span></a></li><li class="devsite-nav-item"><a href="/sdk/docs/downloads-versioned-archives" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/downloads-versioned-archives" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/downloads-versioned-archives" ><span class="devsite-nav-text" tooltip>Using versioned archives</span></a></li><li class="devsite-nav-item"><a href="/sdk/docs/downloads-interactive" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/downloads-interactive" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/downloads-interactive" ><span class="devsite-nav-text" tooltip>Using the installer</span></a></li></ul></div></li></ul></div></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Setting up the gcloud CLI</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/sdk/docs/initializing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/initializing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/initializing" ><span class="devsite-nav-text" tooltip>Initializing the gcloud CLI</span></a></li><li class="devsite-nav-item"><a href="/sdk/docs/authorizing" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/authorizing" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/authorizing" ><span class="devsite-nav-text" tooltip>Authorizing the gcloud CLI</span></a></li><li class="devsite-nav-item"><a href="/sdk/docs/proxy-settings" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/proxy-settings" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/proxy-settings" ><span class="devsite-nav-text" tooltip>Configuring the gcloud CLI for use behind a proxy or firewall </span></a></li><li class="devsite-nav-item"><a href="/sdk/docs/configurations" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/configurations" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/configurations" ><span class="devsite-nav-text" tooltip>Managing gcloud CLI configurations</span></a></li><li class="devsite-nav-item"><a href="/sdk/docs/properties" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/properties" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/properties" ><span class="devsite-nav-text" tooltip>Managing gcloud CLI properties</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/sdk/docs/components" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/components" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/components" ><span class="devsite-nav-text" tooltip>Managing gcloud CLI components</span></a></li> <li class="devsite-nav-item"><a href="/sdk/docs/scripting-gcloud" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/scripting-gcloud" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/scripting-gcloud" ><span class="devsite-nav-text" tooltip>Scripting gcloud CLI commands</span></a></li> <li class="devsite-nav-item"><a href="/sdk/docs/enabling-accessibility-features" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/enabling-accessibility-features" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/enabling-accessibility-features" ><span class="devsite-nav-text" tooltip>Enabling accessibility features</span></a></li> <li class="devsite-nav-item devsite-nav-beta"><a href="/sdk/docs/interactive-gcloud" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/interactive-gcloud" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/interactive-gcloud" ><span class="devsite-nav-text" tooltip>Using gcloud interactive shell</span><span class="devsite-nav-icon material-icons" data-icon="beta" data-title="Beta" aria-hidden="true"></span></a></li> <li class="devsite-nav-item"><a href="/sdk/docs/uninstall-cloud-sdk" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /sdk/docs/uninstall-cloud-sdk" track-type="bookNav" track-name="click" track-metadata-eventdetail="/sdk/docs/uninstall-cloud-sdk" ><span class="devsite-nav-text" tooltip>Uninstalling the gcloud CLI</span></a></li> </ul> <ul class="devsite-nav-list" menu="Technology areas" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/ai-ml" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: AI and ML" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > AI and ML </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-development" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application development" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application development </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/application-hosting" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Application hosting" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Application hosting </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/compute-area" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Compute" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Compute </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/data" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Data analytics and pipelines" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Data analytics and pipelines </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/databases" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Databases" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Databases </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/dhm-cloud" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Distributed, hybrid, and multicloud" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Distributed, hybrid, and multicloud </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/generative-ai" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Generative AI" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Generative AI </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/industry" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Industry solutions" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Industry solutions </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/networking" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Networking" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Networking </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/observability" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Observability and monitoring" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Observability and monitoring </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/security" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Security" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Security </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/storage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Storage" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Storage </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Cross-product tools" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/docs/access-resources" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Access and resources management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Access and resources management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/costs-usage" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Costs and usage management" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Costs and usage management </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/devtools" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud SDK, languages, frameworks, and tools" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud SDK, languages, frameworks, and tools </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/iac" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Infrastructure as code" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Infrastructure as code </span> </a> </li> <li class="devsite-nav-item"> <a href="/docs/migration" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Migration" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Migration </span> </a> </li> </ul> <ul class="devsite-nav-list" menu="Related sites" aria-label="Side menu" hidden> <li class="devsite-nav-item"> <a href="/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Home" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Home </span> </a> </li> <li class="devsite-nav-item"> <a href="/free" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Free Trial and Free Tier" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Free Trial and Free Tier </span> </a> </li> <li class="devsite-nav-item"> <a href="/architecture" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Architecture Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Architecture Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://cloud.google.com/blog" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Blog" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Blog </span> </a> </li> <li class="devsite-nav-item"> <a href="/contact" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Contact Sales" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Contact Sales </span> </a> </li> <li class="devsite-nav-item"> <a href="/developers" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://developers.google.com/" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Developer Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Developer Center </span> </a> </li> <li class="devsite-nav-item"> <a href="https://console.cloud.google.com/marketplace" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace </span> </a> </li> <li class="devsite-nav-item"> <a href="/marketplace/docs" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Marketplace Documentation" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Marketplace Documentation </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.cloudskillsboost.google/paths" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Skills Boost" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Skills Boost </span> </a> </li> <li class="devsite-nav-item"> <a href="/solutions" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Solution Center" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Solution Center </span> </a> </li> <li class="devsite-nav-item"> <a href="/support-hub" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Support" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Support </span> </a> </li> <li class="devsite-nav-item"> <a href="https://www.youtube.com/@googlecloudtech" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Responsive Tab: Google Cloud Tech Youtube Channel" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Google Cloud Tech Youtube Channel </span> </a> </li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" class="devsite-main-content" has-book-nav has-sidebar > <div class="devsite-sidebar"> <div class="devsite-sidebar-content"> <devsite-toc class="devsite-nav" role="navigation" aria-label="On this page" depth="2" scrollbars ></devsite-toc> <devsite-recommendations-sidebar class="nocontent devsite-nav"> </devsite-recommendations-sidebar> </div> </div> <devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "> <a href="https://cloud.google.com/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Google Cloud" > Home </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/sdk" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="Cloud SDK" > Cloud SDK </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/sdk/docs" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="3" track-type="globalNav" track-name="breadcrumb" track-metadata-position="3" track-metadata-eventdetail="Google Cloud CLI Documentation" > Documentation </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://cloud.google.com/sdk/docs/install-sdk" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="4" track-type="globalNav" track-name="breadcrumb" track-metadata-position="4" track-metadata-eventdetail="" > Guides </a> </li> </ul> <devsite-thumb-rating position="header"> </devsite-thumb-rating> </div> <devsite-feedback position="header" project-name="Google Cloud CLI Documentation" product-id="85164" bucket="Documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="header" class="nocontent" project-feedback-url="https://issuetracker.google.com/issues/new?component=187143" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" project-support-url="https://cloud.google.com/sdk/docs/getting-support" > <button> Send feedback </button> </devsite-feedback> <devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded > </devsite-toc> <div class="devsite-article-body clearfix devsite-no-page-title"> <div class="quickstart" itemscope itemtype="https://schema.org/TechArticle"> <h1 class="devsite-page-title" id="install-the-google-cloud-cli" data-text="Install the Google Cloud CLI" tabindex="-1">Install the Google Cloud CLI</h1> <section class="intro"> <p>This quickstart guides you through installing and initializing the Google Cloud CLI and running a few core gcloud CLI commands.</p> <hr> <p>To follow step-by-step guidance for this task directly in the Google Cloud console, click <b>Guide me</b>: </p> <p><a href="https://console.cloud.google.com/freetrial?redirectPath=/?walkthrough_id=sdk--cloud-cli-quickstart" class="button button-primary" track-type="walkthroughStatic" track-name="consoleLink" track-metadata-eventdetail="https://console.cloud.google.com/freetrial?redirectPath=/?walkthrough_id=sdk--cloud-cli-quickstart" track-metadata-id="?walkthrough_id=sdk--cloud-cli-quickstart">Guide me</a> </p> <hr> </section> <section class="prereqs"> <h2 id="before-you-begin" data-text="Before you begin" tabindex="-1">Before you begin</h2> <ol> <cloudx-free-trial-eligible-content> <slot slot="eligible"> <li> Sign in to your Google Cloud account. If you're new to Google Cloud, <a href="https://console.cloud.google.com/freetrial" target="console" track-type="commonIncludes" track-name="createAnAccount" track-metadata-position="prereqs" track-metadata-eventdetail="https://console.cloud.google.com/freetrial" track-metadata-link-destination="https://console.cloud.google.com/freetrial"> create an account</a> to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads. </li> <li> <p>In the Google Cloud console, on the project selector page, select or create a Google Cloud project.</p> <aside class="note"><b>Note</b>: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.</aside> <p><a href="https://console.cloud.google.com/projectselector2/home/dashboard" target="console" track-type="commonIncludes" track-name="consoleLink" track-metadata-end-goal="createProject" class="button button-primary">Go to project selector</a></p> </li> <li> <p> <a href="/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project" target="_blank" track-type="commonIncludes" track-name="supportLink" track-metadata-end-goal="enableBilling" >Make sure that billing is enabled for your Google Cloud project</a>. </p> </li> </slot> <slot slot="ineligible"> <li> <p>In the Google Cloud console, on the project selector page, select or create a Google Cloud project.</p> <aside class="note"><b>Note</b>: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.</aside> <p><a href="https://console.cloud.google.com/projectselector2/home/dashboard" target="console" track-type="commonIncludes" track-name="consoleLink" track-metadata-end-goal="createProject" class="button button-primary">Go to project selector</a></p> </li> <li> <p> <a href="/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project" target="_blank" track-type="commonIncludes" track-name="supportLink" track-metadata-end-goal="enableBilling" >Make sure that billing is enabled for your Google Cloud project</a>. </p> </li> </slot> </cloudx-free-trial-eligible-content> </ol></p> <p>When you finish the tasks that are described in this document, you can avoid continued billing by deleting the resources that you created. For more information, see <a href="#clean-up" track-type="tutorial" track-name="internalLink" track-metadata-position="body">Clean up</a>.</p> </section> <section class="steps"> <h2 id="installing_the_latest_version" data-text="Installing the latest gcloud CLI version (502.0.0)" tabindex="-1">Installing the latest gcloud CLI version (502.0.0)</h2> <aside class="note"><strong>Note:</strong><span> If you are behind a proxy/firewall, see the <a href="/sdk/docs/proxy-settings">proxy settings</a> page for more information on installation.</span></aside> <section class="kd-tabbed-horz"> <article class=""> <header id="linux">Linux</header> <ol> <li>Confirm that you have a supported version of Python. The Google Cloud CLI requires Python 3.8 to 3.13. Note that the x86_64 Linux package includes a bundled Python interpreter that will be preferred by default. For information on how to choose and configure your Python interpreter, see <a href="/sdk/gcloud/reference/topic/startup"><code translate="no" dir="ltr">gcloud topic startup</code></a>. </li> <li>Download one of the following: <aside>Note: To determine your Linux Platform, run <code translate="no" dir="ltr">uname -a</code> at the command line.</aside> <table style="table-layout:fixed; width:100%;"> <thead> <tr> <th style="width:20%;">Platform</th> <th style="width:30%;">Package name</th> <th style="width:10%;">Size</th> <th style="width:40%;">SHA256 Checksum</th> </tr> </thead> <tbody> <tr> <td>Linux 64-bit <p><span translate="no">(x86_64)</span></p></td> <td><span translate="no"><a href="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-x86_64.tar.gz" track-type="gettingStarted" track-name="downloadCloudSDK">google-cloud-cli-linux-x86_64.tar.gz</a></span></td> <td>131.6 MB</td> <td style="word-wrap: break-word;"><span translate="no">beb7c8ef61c46ede9295bf68bfb331fbd158575cc3343db585d37b891c890336</span></td> </tr> <tr> <td>Linux 64-bit <p><span translate="no">(Arm)</span></p></td> <td><span translate="no"><a href="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-arm.tar.gz" track-type="gettingStarted" track-name="downloadCloudSDK">google-cloud-cli-linux-arm.tar.gz</a></span></td> <td>53.9 MB</td> <td style="word-wrap: break-word;"><span translate="no">44eb95fd169f92c197f88df527c3aa27d5db9aa977c2fa2d28fa1cf506b00c9f</span></td> </tr> <tr> <td>Linux 32-bit <p><span translate="no">(x86)</span></p></td> <td><span translate="no"><a href="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-x86.tar.gz" track-type="gettingStarted" track-name="downloadCloudSDK">google-cloud-cli-linux-x86.tar.gz</a></span></td> <td>53.9 MB</td> <td style="word-wrap: break-word;"><span translate="no">10303f55226fac633761ae52e1dbcbcaf7c59fe11232f8196e6e361fc38e2e77</span></td> </tr> </tbody> </table> <p>To download the Linux archive file, run the following command: </p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">curl<span class="devsite-syntax-w"> </span>-O<span class="devsite-syntax-w"> </span>https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/<var translate="no">google-cloud-cli-linux-x86_64.tar.gz</var></pre></devsite-code> <p>Refer to the table above and replace <var translate="no">google-cloud-cli-linux-x86_64.tar.gz</var> with the <code translate="no" dir="ltr">*.tar.gz</code> package name that applies to your configuration. </p> </li> <li>To extract the contents of the file to your file system (preferably to your home directory), run the following command: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">tar<span class="devsite-syntax-w"> </span>-xf<span class="devsite-syntax-w"> </span><var translate="no">google-cloud-cli-linux-x86_64.tar.gz</var></pre></devsite-code> Optional: To replace an existing installation, remove the existing <code translate="no" dir="ltr">google-cloud-sdk</code> directory and then extract the archive to the same location. </li> <li>Add the gcloud CLI to your path. Run the installation script from the root of the folder you extracted to using the following command: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">./google-cloud-sdk/install.sh</pre></devsite-code> This can also be done non-interactively (for example, using a script) and by providing preferences as flags. To view the available flags, run: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">./google-cloud-sdk/install.sh<span class="devsite-syntax-w"> </span>--help</pre></devsite-code> Optional: <ul> <li>To send <a href="/sdk/docs/usage-statistics">anonymous usage statistics</a> to help improve the gcloud CLI, answer <code translate="no" dir="ltr">Y</code> when prompted. </li> <li> To add the gcloud CLI to your <code translate="no" dir="ltr">PATH</code> and enable command completion, answer <code translate="no" dir="ltr">Y</code> when prompted. </li> </ul> </li> <li>Open a new terminal so that the changes take effect. </li> <li>To initialize the gcloud CLI, run <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a>: </li> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">./google-cloud-sdk/bin/gcloud<span class="devsite-syntax-w"> </span>init</pre></devsite-code> <li>Optional: Install additional components using the <a href="/sdk/docs/managing-components">component manager</a>. </li> </ol> </article> <article> <header id="deb">Debian/Ubuntu</header> <aside class="note"><b>Note:</b> Depending on your setup, you can choose other installation methods: <ul> <li>If you want <code translate="no" dir="ltr">gcloud</code> to automatically update to the latest version and you're running a modern Ubuntu release that uses the Snap Package Manager, you can install the Google Cloud CLI as a <a href="/sdk/docs/downloads-snap">snap package</a>.</li> <li>If you're using an instance on Compute Engine, the gcloud CLI is installed by default on a number of OS images. See <a href="/compute/docs/images/os-details#user-space-features">OS details</a> for a full list.</li> </ul></aside> <p> </p> <b>Package contents</b> <p> The gcloud CLI is available in package format for installation on Debian and Ubuntu systems. This package contains the <code translate="no" dir="ltr">gcloud</code>, <code translate="no" dir="ltr">gcloud alpha</code>, <code translate="no" dir="ltr">gcloud beta</code>, <code translate="no" dir="ltr">gsutil</code>, and <code translate="no" dir="ltr">bq</code> commands only. It doesn't include <code translate="no" dir="ltr">kubectl</code> or the App Engine extensions required to deploy an application using <code translate="no" dir="ltr">gcloud</code> commands. If you want these components, you must <a href="#deb-additional">install them separately</a>. </p> <b>Before you begin</b> <p>Before you install the gcloud CLI, make sure that your operating system meets the following requirements:</p> <ul> <li>It is an Ubuntu release that hasn't reached <a href="https://wiki.ubuntu.com/Releases" class="external">end-of-life</a> or a Debian stable release that hasn't reached <a href="https://wiki.debian.org/DebianReleases" class="external">end-of-life</a></li> <li>It has recently updated its packages: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>update</pre></devsite-code></li> <li>It has <a href="https://packages.debian.org/bullseye/apt-transport-https" class="external"><code translate="no" dir="ltr">apt-transport-https</code></a> and <code translate="no" dir="ltr">curl</code> installed: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>apt-transport-https<span class="devsite-syntax-w"> </span>ca-certificates<span class="devsite-syntax-w"> </span>gnupg<span class="devsite-syntax-w"> </span>curl</pre></devsite-code> </li> </ul> <b>Installation</b> <ol> <li>Import the Google Cloud public key. <ul> <li><p> For newer distributions (Debian 9+ or Ubuntu 18.04+) run the following command:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">curl<span class="devsite-syntax-w"> </span>https://packages.cloud.google.com/apt/doc/apt-key.gpg<span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>gpg<span class="devsite-syntax-w"> </span>--dearmor<span class="devsite-syntax-w"> </span>-o<span class="devsite-syntax-w"> </span>/usr/share/keyrings/cloud.google.gpg</pre></devsite-code> </li> <li> For older distributions, run the following command: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">curl<span class="devsite-syntax-w"> </span>https://packages.cloud.google.com/apt/doc/apt-key.gpg<span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>apt-key<span class="devsite-syntax-w"> </span>--keyring<span class="devsite-syntax-w"> </span>/usr/share/keyrings/cloud.google.gpg<span class="devsite-syntax-w"> </span>add<span class="devsite-syntax-w"> </span>-</pre></devsite-code> </li> <li><p> If your distribution's apt-key command doesn't support the <code translate="no" dir="ltr">--keyring</code> argument, run the following command:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">curl<span class="devsite-syntax-w"> </span>https://packages.cloud.google.com/apt/doc/apt-key.gpg<span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>apt-key<span class="devsite-syntax-w"> </span>add<span class="devsite-syntax-w"> </span>-</pre></devsite-code> </li> <li><p>If you can't get latest updates due to an expired key, <a href="/compute/docs/troubleshooting/known-issues#keyexpired">obtain the latest apt-get.gpg key file</a>.</p></li> </ul> </li> <li>Add the gcloud CLI distribution URI as a package source. <ul><li>For newer distributions (Debian 9+ or Ubuntu 18.04+), run the following command: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash"><span class="devsite-syntax-nb">echo</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main"</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>tee<span class="devsite-syntax-w"> </span>-a<span class="devsite-syntax-w"> </span>/etc/apt/sources.list.d/google-cloud-sdk.list</pre></devsite-code></li> <li><p>For older distributions that don't support the signed-by option, run the following command:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash"><span class="devsite-syntax-nb">echo</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"deb https://packages.cloud.google.com/apt cloud-sdk main"</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>tee<span class="devsite-syntax-w"> </span>-a<span class="devsite-syntax-w"> </span>/etc/apt/sources.list.d/google-cloud-sdk.list</pre></devsite-code></li> </ul> <aside class="note"><b>Note:</b> Make sure you don't have duplicate entries for the <code translate="no" dir="ltr">cloud-sdk</code> repo in <code translate="no" dir="ltr">/etc/apt/sources.list.d/google-cloud-sdk.list</code>. </aside> </li> <li>Update and install the gcloud CLI: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>update<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">&&</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>google-cloud-cli</pre></devsite-code> For additional <code translate="no" dir="ltr">apt-get</code> options, such as disabling prompts or dry runs, refer to the <a href="https://linux.die.net/man/8/apt-get" class="external"><code translate="no" dir="ltr">apt-get</code> man pages</a>. <p><b>Docker Tip:</b> If installing the gcloud CLI inside a Docker image, use a single RUN step instead:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">RUN<span class="devsite-syntax-w"> </span><span class="devsite-syntax-nb">echo</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main"</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>tee<span class="devsite-syntax-w"> </span>-a<span class="devsite-syntax-w"> </span>/etc/apt/sources.list.d/google-cloud-sdk.list<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">&&</span><span class="devsite-syntax-w"> </span>curl<span class="devsite-syntax-w"> </span>https://packages.cloud.google.com/apt/doc/apt-key.gpg<span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>gpg<span class="devsite-syntax-w"> </span>--dearmor<span class="devsite-syntax-w"> </span>-o<span class="devsite-syntax-w"> </span>/usr/share/keyrings/cloud.google.gpg<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">&&</span><span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>update<span class="devsite-syntax-w"> </span>-y<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">&&</span><span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>google-cloud-cli<span class="devsite-syntax-w"> </span>-y <span class="devsite-syntax-w"> </span></pre></devsite-code> For older base images that do not support the <code translate="no" dir="ltr">gpg --dearmor</code> command: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">RUN<span class="devsite-syntax-w"> </span><span class="devsite-syntax-nb">echo</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main"</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>tee<span class="devsite-syntax-w"> </span>-a<span class="devsite-syntax-w"> </span>/etc/apt/sources.list.d/google-cloud-sdk.list<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">&&</span><span class="devsite-syntax-w"> </span>curl<span class="devsite-syntax-w"> </span>https://packages.cloud.google.com/apt/doc/apt-key.gpg<span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>apt-key<span class="devsite-syntax-w"> </span>--keyring<span class="devsite-syntax-w"> </span>/usr/share/keyrings/cloud.google.gpg<span class="devsite-syntax-w"> </span>add<span class="devsite-syntax-w"> </span>-<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">&&</span><span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>update<span class="devsite-syntax-w"> </span>-y<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">&&</span><span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>google-cloud-cli<span class="devsite-syntax-w"> </span>-y <span class="devsite-syntax-w"> </span></pre></devsite-code> </li> <li id="deb-additional">(Optional) Install any of the following <a href="/sdk/docs/components#additional_components"> additional components</a>: <ul> <li><code translate="no" dir="ltr">google-cloud-cli</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-anthos-auth</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-go</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-grpc</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-java</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-python</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-python-extras</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-bigtable-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-cbt</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-cloud-build-local</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-cloud-run-proxy</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-config-connector</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-datastore-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-firestore-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-gke-gcloud-auth-plugin</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-kpt</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-kubectl-oidc</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-local-extract</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-minikube</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-nomos</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-pubsub-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-skaffold</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-spanner-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-terraform-validator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-tests</code></li> <li><code translate="no" dir="ltr">kubectl</code></li> </ul> <p> For example, the <code translate="no" dir="ltr">google-cloud-cli-app-engine-java</code> component can be installed as follows: </p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>google-cloud-cli-app-engine-java</pre></devsite-code> </li> <li>Run <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> to get started: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>init</pre></devsite-code> </li> </ol> <p> <b>Downgrading gcloud CLI versions</b> <p> To revert to a specific version of the gcloud CLI, where <code translate="no" dir="ltr">VERSION</code> is of the form <code translate="no" dir="ltr">123.0.0</code>, run the following command:</p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded>sudo apt-get update && sudo apt-get install google-cloud-cli=123.0.0-0</pre></devsite-code> <p>The ten most recent releases are always available in the repo.</p> <p>NOTE: For releases prior to 371.0.0, the package name is <code translate="no" dir="ltr">google-cloud-sdk</code></p> </article> <article> <header id="rpm">Red Hat/Fedora/CentOS</header> <aside class="note"><b>Note:</b> If you're using an instance on Compute Engine, the Google Cloud CLI is installed by default on a number of OS images. See <a href="/compute/docs/images/os-details#user-space-features">OS details</a> for a full list.</aside> <p> </p> <b>Package contents</b> <p> The gcloud CLI is available in package format for installation on Red Hat Enterprise Linux 7, 8, and 9; Fedora 33 and 34; and CentOS 7 and 8 systems. This package contains the <code translate="no" dir="ltr">gcloud</code>, <code translate="no" dir="ltr">gcloud alpha</code>, <code translate="no" dir="ltr">gcloud beta</code>, <code translate="no" dir="ltr">gsutil</code>, and <code translate="no" dir="ltr">bq</code> commands only. It doesn't include <code translate="no" dir="ltr">kubectl</code> or the App Engine extensions required to deploy an application using <code translate="no" dir="ltr">gcloud</code> commands, which can be installed separately as described later in this section. </p> <b>Installation</b> <ol> <li>Update DNF with gcloud CLI repository information. The following sample command is for a Red Hat Enterprise Linux 9-compatible installation, but make sure that you update the settings as needed for your configuration: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>tee<span class="devsite-syntax-w"> </span>-a<span class="devsite-syntax-w"> </span>/etc/yum.repos.d/google-cloud-sdk.repo<span class="devsite-syntax-w"> </span><span class="devsite-syntax-s"><< EOM</span> <span class="devsite-syntax-s">[google-cloud-cli]</span> <span class="devsite-syntax-s">name=Google Cloud CLI</span> <span class="devsite-syntax-s">baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el9-x86_64</span> <span class="devsite-syntax-s">enabled=1</span> <span class="devsite-syntax-s">gpgcheck=1</span> <span class="devsite-syntax-s">repo_gpgcheck=0</span> <span class="devsite-syntax-s">gpgkey=https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg</span> <span class="devsite-syntax-s">EOM</span></pre></devsite-code> </li> <li> If you're installing on Fedora 34 or 35, install <code translate="no" dir="ltr">libxcrypt-compat.x86_64</code>. <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>dnf<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>libxcrypt-compat.x86_64</pre></devsite-code> </li> <li>Install the gcloud CLI: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>dnf<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>google-cloud-cli</pre></devsite-code> </li> <aside class="note"><b>Note:</b> If you haven't moved to <a href="https://dnf.readthedocs.io/en/latest/command_ref.html" class="external"><code translate="no" dir="ltr">dnf</code></a> on your system, you can run these commands using <code translate="no" dir="ltr">yum</code> instead.<p> You can also use <code translate="no" dir="ltr">dnf</code>/<code translate="no" dir="ltr">yum</code> options, such as disabling prompts or dry runs, with the provided commands.</aside> <li>(Optional) Install any of the following <a href="/sdk/docs/components#additional_components">additional components</a>: <ul> <li><code translate="no" dir="ltr">google-cloud-cli</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-anthos-auth</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-go</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-grpc</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-java</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-python</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-python-extras</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-bigtable-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-cbt</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-cloud-build-local</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-cloud-run-proxy</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-config-connector</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-datastore-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-firestore-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-gke-gcloud-auth-plugin</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-kpt</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-kubectl-oidc</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-local-extract</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-minikube</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-nomos</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-pubsub-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-skaffold</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-spanner-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-terraform-validator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-tests</code></li> <li><code translate="no" dir="ltr">kubectl</code></li> </ul> <p> For example, the <code translate="no" dir="ltr">google-cloud-cli-app-engine-java</code> component can be installed as follows: </p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>dnf<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>google-cloud-cli-app-engine-java</pre></devsite-code> </li> <li>Run <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> to get started: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>init</pre></devsite-code> </li> </ol> <p> <b>Downgrading gcloud CLI versions</b> <p> If you'd like to revert to a specific version of the gcloud CLI, where <code translate="no" dir="ltr">VERSION</code> is of the form <code translate="no" dir="ltr">123.0.0</code>, run: <code translate="no" dir="ltr">sudo dnf downgrade google-cloud-cli-VERSION</code> The ten most recent releases will always be available in the repository. NOTE: For releases prior to 371.0.0, the package name is <code translate="no" dir="ltr">google-cloud-sdk</code> </p> </article> <article class=""> <header id="mac">macOS</header> <ol> <li> Confirm that you have a supported version of Python: <ul> <li> To check your current Python version, run <code translate="no" dir="ltr"> python3 -V</code> or <code translate="no" dir="ltr"> python -V</code>. Supported versions are Python 3.8 to 3.13. </li> <li> The main install script offers to install CPython's Python 3.11. </li> <li> Otherwise, to install a supported Python version, please visit the Python.org <a href="https://www.python.org/downloads/macos/">Python Releases for macOS</a>. </li> <li> If you have multiple Python interpreters installed on your machine, set the CLOUDSDK_PYTHON environment variable within your shell to point to the path of your preferred interpreter. </li> <li> For more information on how to choose and configure your Python interpreter, see <a href="/sdk/gcloud/reference/topic/startup"><code translate="no" dir="ltr">gcloud topic startup</code></a >. </li> </ul> </li> <li> Download one of the following: <aside> Note: To determine your machine hardware name, run <code translate="no" dir="ltr">uname -m</code> from a command line. </aside> </li> <p></p> <table style="table-layout: fixed; width: 100%"> <thead> <tr> <th style="width: 20%">Platform</th> <th style="width: 30%">Package</th> <th style="width: 10%">Size</th> <th style="width: 40%">SHA256 Checksum</th> </tr> </thead> <tbody> <tr> <td> macOS 64-bit <p><span translate="no">(x86_64)</span></p> </td> <td> <span translate="no"> <a href="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-darwin-x86_64.tar.gz" track-type="gettingStarted" track-name="downloadCloudSDK" >google-cloud-cli-darwin-x86_64.tar.gz </a> </span> </td> <td>53.9 MB</td> <td style="word-wrap: break-word"> <span translate="no"> 9d1af0d2b5e7c8a30145831b99ce46272fc0aba754d7d23dcd3ede414b9ff75a </span> </td> </tr> <tr> <td> macOS 64-bit <p><span translate="no">(ARM64, Apple M1 silicon)</span></p> </td> <td> <span translate="no"> <a href="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-darwin-arm.tar.gz" track-type="gettingStarted" track-name="downloadCloudSDK" >google-cloud-cli-darwin-arm.tar.gz </a> </span> </td> <td>53.9 MB</td> <td style="word-wrap: break-word"> <span translate="no"> d986d0c6531be038b71218f8e7e666c5b4d18ef580d6a063550406ed07e460f9 </span> </td> </tr> <tr> <td> macOS 32-bit <p><span translate="no">(x86)</span></p> </td> <td> <span translate="no"> <a href="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-darwin-x86.tar.gz" track-type="gettingStarted" track-name="downloadCloudSDK" >google-cloud-cli-darwin-x86.tar.gz </a> </span> </td> <td>52.6 MB</td> <td style="word-wrap: break-word"> <span translate="no"> e98b4bf6449b9207ff5c4bd3df12a1b38ffa0f498274b26f2d80cfe7fb124f81 </span> </td> </tr> </tbody> </table> <ol> <li> Extract the archive to any location on your file system (preferably your Home directory). On macOS, this can be achieved by opening the downloaded <code translate="no" dir="ltr">.tar.gz</code> archive file in the preferred location. <p> To replace an existing installation, remove the existing <code translate="no" dir="ltr">google-cloud-sdk</code> directory and then extract the archive to the same location. </p> </li> <li> (Optional) Use the install script to add gcloud CLI tools to your <code translate="no" dir="ltr">PATH</code>.You can also opt-in to command-completion for your shell, <a href="/sdk/docs/usage-statistics">usage statistics collection</a>, and install Python 3.11. <p> Run the script (from the root of the folder you extracted in the last step) using this command: </p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">./google-cloud-sdk/install.sh</pre></devsite-code> This can also be done non-interactively (for example, using a script) by providing preferences as flags. To describe the available flags, run: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">./google-cloud-sdk/install.sh<span class="devsite-syntax-w"> </span>--help</pre></devsite-code> To run the install script with screen reader mode on: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">./google-cloud-sdk/install.sh<span class="devsite-syntax-w"> </span>--screen-reader<span class="devsite-syntax-o">=</span><span class="devsite-syntax-nb">true</span></pre></devsite-code> Open a new terminal so that the changes take effect. </li> <li> To initialize the gcloud CLI, run <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a >: </li> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">./google-cloud-sdk/bin/gcloud<span class="devsite-syntax-w"> </span>init</pre></devsite-code> <li> Optional. Install additional components using the <a href="/sdk/docs/managing-components">component manager</a>. </li> </ol> </ol> </article> <article class="selected"> <header id="windows">Windows</header> <ol> The Google Cloud CLI works on Windows 8.1 and later and Windows Server 2012 and later. <li> <p> Download the <a href="https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe" track-type="gettingStarted" track-name="downloadCloudSDK">Google Cloud CLI installer</a>. </p> <p> Alternatively, open a PowerShell terminal and run the following PowerShell commands: </p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash"><span class="devsite-syntax-o">(</span>New-Object<span class="devsite-syntax-w"> </span>Net.WebClient<span class="devsite-syntax-o">)</span>.DownloadFile<span class="devsite-syntax-o">(</span><span class="devsite-syntax-s2">"https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe"</span>,<span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"</span><span class="devsite-syntax-nv">$env</span><span class="devsite-syntax-s2">:Temp\GoogleCloudSDKInstaller.exe"</span><span class="devsite-syntax-o">)</span> &amp;<span class="devsite-syntax-w"> </span><span class="devsite-syntax-nv">$env</span>:Temp<span class="devsite-syntax-se">\G</span>oogleCloudSDKInstaller.exe <span class="devsite-syntax-w"> </span></pre></devsite-code> </li> <li> <p>Launch the installer and follow the prompts. The installer is signed by Google LLC.</p> <p> If you're using a screen reader, check the <b>Turn on screen reader mode</b> checkbox. This option configures <code translate="no" dir="ltr">gcloud</code> to use status trackers instead of unicode spinners, display progress as a percentage, and flatten tables. For more information, see the <a href="/sdk/docs/enabling-accessibility-features">Accessibility features guide</a>. </p> </li> <li> <p>Google Cloud CLI requires Python; supported versions are Python 3.8 to 3.13. By default, the Windows version of Google Cloud CLI comes bundled with Python 3. To use Google Cloud CLI your operating system must be able to run a supported version of Python.</p> <p> The installer installs all necessary dependencies, including the needed Python version. While Google Cloud CLI installs and manages Python 3 by default, you can use an existing Python installation if necessary by <b>unchecking</b> the option to Install Bundled Python. See <a href="/sdk/gcloud/reference/topic/startup"><code translate="no" dir="ltr">gcloud topic startup</code></a> to learn how to use an existing Python installation. </p> </li> <li><p>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 <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> command.</p> </li> <li>The default installation doesn't include the App Engine extensions required to deploy an application using <code translate="no" dir="ltr">gcloud</code> commands. These components can be installed using the <a href="/sdk/docs/managing-components">gcloud CLI component manager</a>. </li> </ol> <strong>Troubleshooting tips:</strong> <ul> <li>If your installation is unsuccessful due to the <code translate="no" dir="ltr">find</code> command not being recognized, ensure your <code translate="no" dir="ltr">PATH</code> environment variable is set to include the folder containing <code translate="no" dir="ltr">find</code>. Usually, this is <code translate="no" dir="ltr">C:\WINDOWS\system32;</code>.</li> <li>If you uninstalled the gcloud CLI, you must reboot your system before installing the gcloud CLI again.</li> <li>If unzipping fails, run the installer as an administrator.</li> </ul> </article> <article> <header id="chromebook">Chromebook</header> <ol> <li><a href="https://support.google.com/chromebook/answer/9145439"> Enable the Linux feature on your Chromebook</a>. Installing the Google Cloud CLI on Chromebook requires this feature.</li> <li>Add the gcloud CLI distribution URI as a package source: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash"><span class="devsite-syntax-nb">echo</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-s2">"deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main"</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>tee<span class="devsite-syntax-w"> </span>-a<span class="devsite-syntax-w"> </span>/etc/apt/sources.list.d/google-cloud-sdk.list</pre></devsite-code> </li> <li>Import the Google Cloud public key: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">curl<span class="devsite-syntax-w"> </span>https://packages.cloud.google.com/apt/doc/apt-key.gpg<span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">|</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>apt-key<span class="devsite-syntax-w"> </span>--keyring<span class="devsite-syntax-w"> </span>/usr/share/keyrings/cloud.google.gpg<span class="devsite-syntax-w"> </span>add<span class="devsite-syntax-w"> </span>-</pre></devsite-code> </li> <li>Update and install the gcloud CLI: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>update<span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">&&</span><span class="devsite-syntax-w"> </span>sudo<span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>google-cloud-cli</pre></devsite-code> </li> <li id="deb-additional">(Optional) Install any of the following <a href="/sdk/docs/components#additional_components"> additional components</a>: <ul> <li><code translate="no" dir="ltr">google-cloud-cli</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-anthos-auth</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-go</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-grpc</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-java</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-python</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-app-engine-python-extras</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-bigtable-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-cbt</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-cloud-build-local</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-cloud-run-proxy</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-config-connector</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-datastore-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-firestore-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-gke-gcloud-auth-plugin</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-kpt</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-kubectl-oidc</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-local-extract</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-minikube</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-nomos</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-pubsub-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-skaffold</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-spanner-emulator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-terraform-validator</code></li> <li><code translate="no" dir="ltr">google-cloud-cli-tests</code></li> <li><code translate="no" dir="ltr">kubectl</code></li> </ul> <p> For example, the <code translate="no" dir="ltr">google-cloud-cli-app-engine-java</code> component can be installed as follows: </p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">sudo<span class="devsite-syntax-w"> </span>apt-get<span class="devsite-syntax-w"> </span>install<span class="devsite-syntax-w"> </span>google-cloud-cli-app-engine-java</pre></devsite-code> </li> <li>Run <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> to get started: <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash">gcloud<span class="devsite-syntax-w"> </span>init</pre></devsite-code> </li> </ol> <p> <b>Downgrading gcloud CLI versions</b> <p> To revert to a specific version of the gcloud CLI, where <code translate="no" dir="ltr">VERSION</code> is of the form <code translate="no" dir="ltr">123.0.0</code>, run the following command:</p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded>sudo apt-get update && sudo apt-get install google-cloud-cli=123.0.0-0</pre></devsite-code> <p>The ten most recent releases are always available in the repo.</p> <p>NOTE: For releases prior to 371.0.0, the package name is <code translate="no" dir="ltr">google-cloud-sdk</code></p> </article> </section> <h2 id="optional_install_the_latest" data-text="Optional: Install the latest Cloud Client Libraries" tabindex="-1">Optional: Install the latest Cloud Client Libraries</h2> <p>You can download <a href="/sdk/cloud-client-libraries">Cloud Client Libraries</a> for supported languages.</p> <h2 id="initializing_the" data-text="Initializing the gcloud CLI" tabindex="-1">Initializing the gcloud CLI</h2> <p>Use the <a href="/sdk/gcloud/reference/init"><code translate="no" dir="ltr">gcloud init</code></a> command to perform several common gcloud CLI setup tasks. These include authorizing the gcloud CLI to access Google Cloud using your user account credentials and setting up the default configuration.</p> <ol> <li><p>Initialize the gcloud CLI:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash Session"><code translate="no" dir="ltr"><span class="devsite-syntax-go">gcloud init</span> </code></pre></devsite-code><aside class="note"><strong>Note:</strong><span> To prevent the command from launching a web browser, use <code translate="no" dir="ltr">gcloud init --console-only</code>. To authorize without a web browser and non-interactively, create a service account with the appropriate scopes using the <a href="https://console.cloud.google.com/">Google Cloud console</a> and use <code translate="no" dir="ltr">gcloud auth activate-service-account</code> with the corresponding JSON key file.</span></aside></li> <li><p>Accept the option to sign in using your Google user account:</p> <div></div><devsite-code><pre class="lang-sh" translate="no" dir="ltr" is-upgraded> To continue, you must log in. Would you like to log in (Y/n)? Y </pre></devsite-code></li> <li><p>In your browser, sign in to your Google user account when prompted and click <strong>Allow</strong> to grant permission to access Google Cloud resources.</p></li> <li><p>At the command prompt, select a Google Cloud project from the list of projects where you have <strong>Owner</strong>, <strong>Editor</strong> or <strong>Viewer</strong> permissions:</p> <div></div><devsite-code><pre class="lang-sh" translate="no" dir="ltr" is-upgraded> Pick cloud project to use: [1] [my-project-1] [2] [my-project-2] ... Please enter your numeric choice: </pre></devsite-code> <p>If you only have one project, <code translate="no" dir="ltr">gcloud init</code> selects it for you.</p> <p>If you have access to more than 200 projects, you will be prompted to enter a project ID, create a new project, or list projects.</p> <div></div><devsite-code><pre translate="no" dir="ltr" is-upgraded> This account has a lot of projects! Listing them all can take a while. [1] Enter a project ID [2] Create a new project [3] List projects Please enter your numeric choice: </pre></devsite-code> <aside class="note"><strong>Note:</strong><span> If you choose to create a project, you&#39;ll also need to <a href="/billing/docs/how-to/modify-project">enable billing on your project</a> to use Google Cloud services.</span></aside></li> <li><p>If you have the <a href="/compute/docs/create-linux-vm-instance#before-you-begin">Compute Engine API</a> enabled, <code translate="no" dir="ltr">gcloud init</code> lets you to choose a default Compute Engine zone:</p> <div></div><devsite-code><pre class="lang-sh" translate="no" dir="ltr" is-upgraded> Which compute zone would you like to use as project default? [1] [asia-east1-a] [2] [asia-east1-b] ... [14] Do not use default zone Please enter your numeric choice: </pre></devsite-code> <p><code translate="no" dir="ltr">gcloud init</code> confirms that you have complete the setup steps successfully:</p> <div></div><devsite-code><pre class="lang-sh" translate="no" dir="ltr" is-upgraded> Run `gcloud help config` to learn how to change individual settings This gcloud configuration is called [default]. You can create additional configurations if you work with multiple accounts and/or projects. Run `gcloud topic configurations` to learn more. Some things to try next: &#42 Run `gcloud --help` to see the Cloud Platform services you can interact with. And run `gcloud help COMMAND` to get help on any gcloud command. &#42 Run `gcloud topic --help` to learn about advanced features of the SDK like arg files and output formatting &#42 Run `gcloud cheat-sheet` to see a roster of go-to `gcloud` commands. </pre></devsite-code></li> <li><p>(Optional) To improve the screen reader experience, enable the <code translate="no" dir="ltr">accessibility/screen_reader</code> property:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash Session"><code translate="no" dir="ltr"><span class="devsite-syntax-go">gcloud config set accessibility/screen_reader true</span> </code></pre></devsite-code> <p>For more details about the accessibility features that come with the gcloud CLI, see <a href="/sdk/docs/enabling-accessibility-features">Enabling accessibility features</a> guide.</p></li> </ol> <h2 id="running_core_commands" data-text="Running core commands" tabindex="-1">Running core commands</h2> <p>Run core commands to view information about your gcloud CLI installation:</p> <ol> <li><p>List accounts whose credentials are stored on the local system:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash Session"><code translate="no" dir="ltr"><span class="devsite-syntax-go">gcloud auth list</span> </code></pre></devsite-code> <p>The gcloud CLI displays a list of credentialed accounts:</p> <div></div><devsite-code><pre class="lang-sh" translate="no" dir="ltr" is-upgraded> Credentialed Accounts ACTIVE ACCOUNT &#42; example-user-1@gmail.com example-user-2@gmail.com </pre></devsite-code></li> <li><p>List the properties in your active gcloud CLI configuration:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash Session"><code translate="no" dir="ltr"><span class="devsite-syntax-go">gcloud config list</span> </code></pre></devsite-code> <p>The gcloud CLI displays the list of properties:</p> <div></div><devsite-code><pre class="lang-sh" translate="no" dir="ltr" is-upgraded> [core] account = example-user-1@gmail.com disable_usage_reporting = False project = example-project </pre></devsite-code></li> <li><p>View information about your gcloud CLI installation and the active configuration:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash Session"><code translate="no" dir="ltr"><span class="devsite-syntax-go">gcloud info</span> </code></pre></devsite-code> <p>The gcloud CLI displays a summary of information about your installation. This includes information about your system, the installed components, the active user account and current project, and the properties in the active configuration.</p></li> <li><p>View information about <code translate="no" dir="ltr">gcloud</code> commands and other topics:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash Session"><code translate="no" dir="ltr"><span class="devsite-syntax-go">gcloud help</span> </code></pre></devsite-code> <p>For example, to view the help for <code translate="no" dir="ltr">gcloud compute instances create</code>:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Bash Session"><code translate="no" dir="ltr"><span class="devsite-syntax-go">gcloud help compute instances create</span> </code></pre></devsite-code> <p>The gcloud CLI displays a help topic that contains a description of the command, a list of command flags and arguments, and examples of how to use the command.</p></li> </ol> </section> <section class="cleanup"> <h2 id="clean-up" data-text="Clean up" tabindex="-1">Clean up</h2> <p> To avoid incurring charges to your Google Cloud account for the resources used on this page, follow these steps. </p> <ol> <aside class="caution"> <strong>Caution</strong>: Deleting a project has the following effects: <ul> <li> <strong>Everything in the project is deleted.</strong> If you used an existing project for the tasks in this document, when you delete it, you also delete any other work you've done in the project. </li> <li> <strong>Custom project IDs are lost.</strong> When you created this project, you might have created a custom project ID that you want to use in the future. To preserve the URLs that use the project ID, such as an <code translate="no" dir="ltr">appspot.com</code> URL, delete selected resources inside the project instead of deleting the whole project. </li> </ul> <p> If you plan to explore multiple architectures, tutorials, or quickstarts, reusing projects can help you avoid exceeding project quota limits. </p> </aside> <li> In the Google Cloud console, go to the <b>Manage resources</b> page. <p><a href="https://console.cloud.google.com/iam-admin/projects" target="console" track-type="commonIncludes" track-name="consoleLink" track-metadata-end-goal="deleteProject" class="button button-primary">Go to Manage resources</a></p> </li> <li> In the project list, select the project that you want to delete, and then click <b>Delete</b>. </li> <li> In the dialog, type the project ID, and then click <b>Shut down</b> to delete the project. </li> </ol> </section> <section class="whatsnext"> <h2 id="whats-next" data-text="What's next" tabindex="-1">What's next</h2> <ul> <li>Read the <a href="/sdk/gcloud">gcloud CLI guide</a> for an overview of the gcloud CLI, including a quick introduction to key concepts, command conventions, and helpful tips.</li> <li>Read the <a href="/sdk/gcloud/reference">gcloud CLI reference guide</a> for detailed pages on each The gcloud CLI command, including descriptions, flags, and examples, that you can use to perform a variety of tasks on Google Cloud.</li> <li>Refer to the <a href="/sdk/docs/cheatsheet">gcloud CLI cheat sheet</a> for a list of commonly used commands and key concepts. </li> <li>Install additional components such as the App Engine emulators or <code translate="no" dir="ltr">kubectl</code> using the <a href="/sdk/gcloud/guide/managing-components">gcloud CLI component manager</a>. </li> </ul> </section> <section class="appendix"> </section> <section class="freetrial"> </section> </div> <devsite-hats-survey class="nocontent" hats-id="mwETRvWii0eU5NUYprb0Y9z5GVbc" listnr-id="83405"></devsite-hats-survey> </div> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-feedback position="footer" project-name="Google Cloud CLI Documentation" product-id="85164" bucket="Documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="footer" class="nocontent" project-feedback-url="https://issuetracker.google.com/issues/new?component=187143" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" project-support-url="https://cloud.google.com/sdk/docs/getting-support" > <button> Send feedback </button> </devsite-feedback> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>Except as otherwise noted, the content of this page is licensed under the <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0 License</a>. For details, see the <a href="https://developers.google.com/site-policies">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p> <p>Last updated 2024-11-26 UTC.</p> </devsite-content-footer> <devsite-notification > </devsite-notification> <div class="devsite-content-data"> <template class="devsite-thumb-rating-feedback"> <devsite-feedback position="thumb-rating" project-name="Google Cloud CLI Documentation" product-id="85164" bucket="Documentation" context="" version="t-devsite-webserver-20241114-r00-rc02.464922260396498922" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="thumb-rating" class="nocontent" project-feedback-url="https://issuetracker.google.com/issues/new?component=187143" project-icon="https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/super_cloud.png" project-support-url="https://cloud.google.com/sdk/docs/getting-support" > <button> Need to tell us more? </button> </devsite-feedback> </template> <template class="devsite-content-data-template"> [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]] </template> </div> </devsite-content> </main> <devsite-footer-promos class="devsite-footer"> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Why Google</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/why-google-cloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-child_headline="why google"track-metadata-module="footer"track-name="choosing google cloud"track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/why-google-cloud/"> Choosing Google Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/trust-center/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-eventDetail="cloud.google.com/security/"track-name="trust and security"track-metadata-position="footer"track-metadata-module="footer"track-metadata-child_headline="why google"track-type="footer link"> Trust and security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/modern-infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-type="footer link"track-metadata-position="footer"track-metadata-child_headline="why google"track-name="modern infrastructure cloud"track-metadata-eventDetail="cloud.google.com/solutions/modern-infrastructure/"track-metadata-module="footer"> Modern Infrastructure Cloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/multicloud/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-child_headline="why google"track-metadata-eventDetail="cloud.google.com/multicloud/"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-name="multicloud"> Multicloud </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/infrastructure/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-position="footer"track-name="global infrastructure"track-metadata-eventDetail="cloud.google.com/infrastructure/"track-metadata-module="footer"track-type="footer link"track-metadata-child_headline="why google"> Global infrastructure </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/customers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/customers/"track-name="customers and case studies"track-metadata-position="footer"track-metadata-child_headline="why google"> Customers and case studies </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/analyst-reports/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"track-metadata-child_headline="why google"track-name="analyst reports"track-metadata-eventDetail="cloud.google.com/analyst-reports/"> Analyst reports </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/whitepapers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-type="footer link"track-name="whitepapers"track-metadata-module="footer"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/whitepapers/"track-metadata-child_headline="why google"> Whitepapers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/blog/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-name="blog"track-metadata-eventDetail="cloud.google.com/blog/"track-type="footer link"track-metadata-module="footer"track-metadata-child_headline="engage"track-metadata-position="footer"> Blog </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Products and pricing</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/pricing/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/pricing/"track-name="google cloud pricing"track-type="footer link"track-metadata-child_headline="products and pricing"track-metadata-module="footer"> Google Cloud pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//workspace.google.com/pricing.html" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-child_headline="products and pricing"track-metadata-module="footer"track-type="footer link"track-name="google workspace pricing"target="_blank"track-metadata-eventDetail="workspace.google.com/pricing.html"track-metadata-position="footer"> Google Workspace pricing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/products/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-name="see all products"track-metadata-eventDetail="cloud.google.com/products/"track-metadata-child_headline="products and pricing"track-metadata-position="footer"track-type="footer link"track-metadata-module="footer"> See all products </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Solutions</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/solutions/infrastructure-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-name="infrastructure modernization"track-metadata-position="footer"track-metadata-child_headline="solutions"track-metadata-eventDetail="cloud.google.com/solutions/infrastructure-modernization/"track-type="footer link"track-metadata-module="footer"> Infrastructure modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/databases/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-metadata-module="footer"track-type="footer link"track-metadata-child_headline="solutions"track-name="databases"track-metadata-eventDetail="cloud.google.com/solutions/databases"track-metadata-position="footer"> Databases </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/application-modernization/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-child_headline="solutions"track-name="application development"track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/application-modernization/"track-metadata-position="footer"> Application modernization </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/smart-analytics/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/smart-analytics/"track-metadata-module="footer"track-metadata-child_headline="solutions"track-name="smart analytics"track-metadata-position="footer"> Smart analytics </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/ai/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-child_headline="solutions"track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/ai/"track-metadata-position="footer"track-name="artificial intelligence"> Artificial Intelligence </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/security/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-type="footer link"track-metadata-child_headline="solutions"track-metadata-module="footer"track-metadata-position="footer"track-name="security"track-metadata-eventDetail="cloud.google.com/solutions/security/"> Security </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://workspace.google.com/enterprise/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-type="footer link"track-metadata-child_headline="solutions"track-name="productivity and work transformation"target="_blank"track-metadata-module="footer"track-metadata-position="footer"track-metadata-eventDetail="workspace.google.com/enterprise/"> Productivity & work transformation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#industry-solutions" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"track-metadata-child_headline="solutions"track-name="industry solutions"track-metadata-eventDetail="cloud.google.com/solutions/#industry-solutions"> Industry solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/devops/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-name="devops solutions"track-metadata-child_headline="solutions"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/solutions/devops/"> DevOps solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/#section-14" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-position="footer"track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/solutions/#section-14"track-name="small business solutions"track-metadata-child_headline="solutions"> Small business solutions </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/solutions/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" track-name="see all solutions"track-metadata-position="footer"track-metadata-child_headline="solutions"track-metadata-eventDetail="cloud.google.com/solutions/"track-metadata-module="footer"track-type="footer link"> See all solutions </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Resources</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/affiliate-program/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-type="footer link"track-metadata-position="footer"track-metadata-child_headline="resources"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/affiliate-program/"track-name="google cloud affiliate program"> Google Cloud Affiliate Program </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-type="footer link"track-metadata-eventDetail="cloud.google.com/docs/"track-name="google cloud documentation"track-metadata-position="footer"track-metadata-module="footer"track-metadata-child_headline="resources"> Google Cloud documentation </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/get-started/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-type="footer link"track-name="google cloud quickstarts"track-metadata-position="footer"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/docs/get-started/"track-metadata-child_headline="resources"> Google Cloud quickstarts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/marketplace/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-name="google cloud marketplace"track-metadata-eventDetail="cloud.google.com/marketplace/"track-metadata-position="footer"track-metadata-child_headline="resources"track-type="footer link"track-metadata-module="footer"> Google Cloud Marketplace </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/discover/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-metadata-child_headline="resources"track-type="footer link"track-metadata-module="footer"track-metadata-position="footer"track-name="learn about cloud computing"track-metadata-eventDetail="learn/"> Learn about cloud computing </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/support-hub/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-metadata-child_headline="resources"track-name="support"track-type="footer link"track-metadata-eventDetail="cloud.google.com/support-hub/"track-metadata-module="footer"track-metadata-position="footer"> Support </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/docs/samples" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-child_headline="resources"track-name="code samples"track-type="footer link"track-metadata-eventDetail="cloud.google.com/docs/samples"track-metadata-module="footer"track-metadata-position="footer"> Code samples </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/architecture/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" track-metadata-module="footer"track-name="cloud architecture center"track-metadata-position="footer"track-type="footer link"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/architecture/"> Cloud Architecture Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/training/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-type="footer link"track-name="training"track-metadata-child_headline="resources"track-metadata-eventDetail="cloud.google.com/training/"track-metadata-module="footer"track-metadata-position="footer"> Training </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/learn/certification/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-child_headline="resources"track-type="footer link"track-metadata-eventDetail="cloud.google.com/certification"track-metadata-position="footer"track-metadata-module="footer"track-name="certifications"> Certifications </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//developers.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" target="_blank"track-type="footer link"track-metadata-eventDetail="developers.google.com"track-metadata-module="footer"track-name="google developers"track-metadata-child_headline="resources"track-metadata-position="footer"> Google for Developers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/startup/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-metadata-module="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/startup/"track-name="google cloud for startups"track-metadata-position="footer"track-metadata-child_headline="resources"> Google Cloud for Startups </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//status.cloud.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" target="_blank"track-type="footer link"track-metadata-eventDetail="status.cloud.google.com"track-name="system status"track-metadata-module="footer"track-metadata-position="footer"track-metadata-child_headline="resources"> System status </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/release-notes" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 14)" track-name="release notes"track-type="footer link"track-metadata-module="footer"track-metadata-child_headline="resources"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/release-notes/"> Release Notes </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Engage</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/contact/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" track-metadata-module="footer"track-name="contact sales"track-metadata-child_headline="engage"track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/contact/"> Contact sales </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cloud.google.com/find-a-partner" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" track-name="find a partner"track-metadata-eventDetail="cloud.google.com/find-a-partner"track-metadata-position="footer"track-type="footer link"target="_blank"track-metadata-child_headline="engage"track-metadata-module="footer"> Find a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/partners/become-a-partner/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" track-metadata-child_headline="engage"track-name="become a partner"track-type="footer link"track-metadata-module="footer"track-metadata-eventDetail="cloud.google.com/partners/become-a-partner/"track-metadata-position="footer"> Become a Partner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/events/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" track-metadata-child_headline="engage"track-name="events"track-metadata-eventDetail="cloud.withgoogle.com/events"track-metadata-module="footer"track-type="footer link"track-metadata-position="footer"> Events </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/podcasts/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" track-name="podcasts"target="_blank"rel="noopener"track-metadata-position="footer"track-metadata-eventDetail="cloud.google.com/podcasts/"track-metadata-child_headline="engage"track-type="footer link"track-metadata-module="footer"> Podcasts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/developers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" track-name="developer center"track-metadata-child_headline="engage"track-metadata-module="footer"track-metadata-position="footer"track-type="footer link"track-metadata-eventDetail="cloud.google.com/developers/"> Developer Center </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudpresscorner.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" track-metadata-position="footer"track-metadata-child_headline="engage"track-name="press corner"track-metadata-module="footer"track-metadata-eventDetail="www.googlecloudpresscorner.com"rel="noopener"target="_blank"track-type="footer link"> Press Corner </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" rel="noopener"track-metadata-child_headline="engage"track-metadata-module="footer"track-metadata-position="footer"target="_blank"track-metadata-eventDetail="www.youtube.com/googlecloud"track-type="footer link"track-name="google cloud on youtube"> Google Cloud on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/googlecloudplatform" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 9)" track-metadata-eventDetail="www.youtube.com/googlecloudplatform"rel="noopener"target="_blank"track-metadata-child_headline="engage"track-metadata-module="footer"track-type="footer link"track-name="google cloud tech on youtube"track-metadata-position="footer"> Google Cloud Tech on YouTube </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//x.com/googlecloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 10)" track-metadata-eventDetail="x.com/googlecloud"track-metadata-child_headline="engage"track-type="footer link"rel="noopener"target="_blank"track-metadata-module="footer"track-metadata-position="footer"track-name="follow on x"> Follow on X </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//userresearch.google.com/?reserved=1&amp;utm_source=website&amp;Q_Language=en&amp;utm_medium=own_srch&amp;utm_campaign=CloudWebFooter&amp;utm_term=0&amp;utm_content=0&amp;productTag=clou&amp;campaignDate=jul19&amp;pType=devel&amp;referral_code=jk212693" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 11)" target="_blank"track-metadata-eventDetail="userresearch.google.com/?reserved=1&amp;utm_source=website&amp;Q_Language=en&amp;utm_medium=own_srch&amp;utm_campaign=CloudWebFooter&amp;utm_term=0&amp;utm_content=0&amp;productTag=clou&amp;campaignDate=jul19&amp;pType=devel&amp;referral_code=jk212693"track-type="footer link"track-metadata-child_headline="engage"track-metadata-position="footer"track-name="join user research"track-metadata-module="footer"> Join User Research </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//careers.google.com/cloud" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 12)" track-metadata-position="footer"target="_blank"track-metadata-eventDetail="careers.google.com/cloud"track-metadata-module="footer"track-type="footer link"track-name="we are hiring join google cloud"track-metadata-child_headline="engage"> We're hiring. Join Google Cloud! </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.googlecloudcommunity.com/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 13)" rel="noopener"target="_blank"track-metadata-position="footer"track-metadata-module="footer"track-metadata-eventDetail="www.googlecloudcommunity.com"track-type="footer link"track-metadata-child_headline="engage"track-name="google cloud community"> Google Cloud Community </a> </li> </ul> </li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//about.google/" data-category="Site-Wide Custom Events" data-label="Footer About Google link" target="_blank" track-metadata-position="footer" track-type="footer link" track-metadata-eventDetail="//about.google/" track-metadata-module="utility footer" track-name="about google" > About Google </a> </li> <li class="devsite-footer-utility-item devsite-footer-privacy-link"> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link" track-name="privacy" target="_blank" track-metadata-module="utility footer" track-metadata-position="footer" track-type="footer link" track-metadata-eventDetail="//policies.google.com/privacy" > Privacy </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//www.google.com/intl/en/policies/terms/regional.html" data-category="Site-Wide Custom Events" data-label="Footer Site terms link" target="_blank" track-metadata-position="footer" track-type="footer link" track-metadata-eventDetail="//www.google.com/intl/en/policies/terms/regional.html" track-name="site terms" track-metadata-module="utility footer" > Site terms </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="/product-terms/" data-category="Site-Wide Custom Events" data-label="Footer Google Cloud terms link" track-type="footer link" track-metadata-eventDetail="/product-terms/" track-name="google cloud terms" track-metadata-module="utility footer" track-metadata-position="footer" > Google Cloud terms </a> </li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"> <a class="devsite-footer-utility-link gc-analytics-event" href="#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" track-metadata-module="utility footer" track-metadata-position="footer" track-type="footer link" track-name="Manage cookies" track-metadata-eventDetail="#" aria-hidden="true" > Manage cookies </a> </li> <li class="devsite-footer-utility-item devsite-footer-carbon-button"> <a class="devsite-footer-utility-link gc-analytics-event" href="/sustainability" data-category="Site-Wide Custom Events" data-label="Footer Our third decade of climate action: join us link" track-type="footer link" track-metadata-position="footer" track-name="Our third decade of climate action: join us" track-metadata-module="utility footer" track-metadata-eventDetail="/sustainability/" > Our third decade of climate action: join us </a> </li> <li class="devsite-footer-utility-item devsite-footer-utility-button"> <span class="devsite-footer-utility-description">Sign up for the Google Cloud newsletter</span> <a class="devsite-footer-utility-link gc-analytics-event" href="/newsletter/" data-category="Site-Wide Custom Events" data-label="Footer Subscribe link" track-metadata-position="footer" track-metadata-module="utility footer" track-metadata-eventDetail="/newsletter/" track-name="subscribe" track-type="footer link" > Subscribe </a> </li> </ul> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> </section></section> <devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip ></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[]</script> <script type="application/json" tag-management>{&#34;at&#34;: &#34;True&#34;, &#34;ga4&#34;: [], &#34;ga4p&#34;: [], &#34;gtm&#34;: [{&#34;id&#34;: &#34;GTM-5CVQBG&#34;, &#34;purpose&#34;: 1}], &#34;parameters&#34;: {&#34;internalUser&#34;: &#34;False&#34;, &#34;language&#34;: {&#34;machineTranslated&#34;: &#34;False&#34;, &#34;requested&#34;: &#34;en&#34;, &#34;served&#34;: &#34;en&#34;}, &#34;pageType&#34;: &#34;article&#34;, &#34;projectName&#34;: &#34;Google Cloud CLI Documentation&#34;, &#34;signedIn&#34;: &#34;False&#34;, &#34;tenant&#34;: &#34;cloud&#34;, &#34;recommendations&#34;: {&#34;sourcePage&#34;: &#34;&#34;, &#34;sourceType&#34;: 0, &#34;sourceRank&#34;: 0, &#34;sourceIdenticalDescriptions&#34;: 0, &#34;sourceTitleWords&#34;: 0, &#34;sourceDescriptionWords&#34;: 0, &#34;experiment&#34;: &#34;&#34;}, &#34;experiment&#34;: {&#34;ids&#34;: &#34;&#34;}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <cloudx-user></cloudx-user> <cloudx-free-trial-eligible-store freeTrialEligible='true'></cloudx-free-trial-eligible-store> <cloudx-pricing-socket></cloudx-pricing-socket> <cloudx-experiments type="TestAACodivertedExperiment" path="/virtual/TestAACodivertedExperiment/configureExperiment" location="SG" variant="variant2" ></cloudx-experiments> <cloudx-experiment-ids userCountry="SG" devsiteExperimentIdList="[39300012, 39300021, 39300118, 39300191, 39300195, 39300251, 39300319, 39300320, 39300324, 39300346, 39300354, 39300364, 39300374, 39300412, 39300422, 39300436, 39300473, 39300487, 39300496, 39300498]"> </cloudx-experiment-ids> <script nonce="2jnQK6c62yPnaQYMvPDOF7U8kbpWaT"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/js/app_loader.js', '[2,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud","https://cloud-dot-devsite-v2-prod.appspot.com",null,null,["/_pwa/cloud/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/favicons/onecloud/favicon.ico","https://www.gstatic.com/devrel-devsite/prod/v870e399c64f7c43c99a3043db4b3a74327bb93d0914e84a0c3dba90bbfd67625/cloud/images/cloud-logo.svg","https://fonts.googleapis.com/css?family=Google+Sans:400,500,700|Google+Sans+Text:400,400italic,500,500italic,700,700italic|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,116,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","cloud.google.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["MiscFeatureFlags__enable_variable_operator","Profiles__enable_page_saving","DevPro__enable_developer_subscriptions","Cloud__enable_cloud_dlp_service","Analytics__enable_clearcut_logging","Profiles__enable_awarding_url","EngEduTelemetry__enable_engedu_telemetry","Cloud__enable_legacy_calculator_redirect","Search__scope_to_project_tenant","Profiles__enable_developer_profiles_callout","Profiles__enable_public_developer_profiles","Search__enable_dynamic_content_confidential_banner","Search__enable_page_map","TpcFeatures__enable_mirror_tenant_redirects","Profiles__enable_profile_collections","Profiles__enable_complete_playlist_endpoint","BookNav__enable_tenant_cache_key","Profiles__enable_release_notes_notifications","Cloud__enable_cloudx_experiment_ids","MiscFeatureFlags__enable_project_variables","Cloud__enable_cloud_shell_fte_user_flow","Search__enable_ai_search_summaries","DevPro__enable_cloud_innovators_plus","MiscFeatureFlags__enable_view_transitions","Profiles__require_profile_eligibility_for_signin","Experiments__reqs_query_experiments","Cloud__enable_cloudx_ping","Profiles__enable_recognition_badges","Concierge__enable_pushui","Cloud__enable_llm_concierge_chat","TpcFeatures__enable_required_headers","Cloud__enable_free_trial_server_call","Search__enable_ai_search_summaries_restricted","CloudShell__cloud_code_overflow_menu","Profiles__enable_dashboard_curated_recommendations","MiscFeatureFlags__developers_footer_image","Search__enable_ai_eligibility_checks","MiscFeatureFlags__developers_footer_dark_image","Cloud__enable_cloud_shell","MiscFeatureFlags__emergency_css","MiscFeatureFlags__enable_explain_this_code","MiscFeatureFlags__enable_firebase_utm","Search__enable_suggestions_from_borg","CloudShell__cloud_shell_button","Concierge__enable_concierge_restricted","Cloud__enable_cloud_facet_chat","Profiles__enable_completecodelab_endpoint"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.clients6.google.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.clients6.google.com",1,4,1,"https://developerprofiles-pa.clients6.google.com",[2,"cloud","Google Cloud","cloud.google.com",null,"cloud-dot-devsite-v2-prod.appspot.com",null,null,[1,1,null,null,null,null,null,null,null,null,null,[1],null,null,null,null,null,1,[1],[null,null,null,[1,20],"/terms/recommendations"],[1],null,[1],[1,null,1],[1,1,null,null,1,null,["/vertex-ai/"]]],null,[22,null,null,null,null,null,"/images/cloud-logo.svg","/images/favicons/onecloud/apple-icon.png",null,null,null,null,1,1,1,[6,5],[],null,null,[[],[],[],[],[],[],[],[]],null,1,null,null,null,null,[]],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[6,1,14,15,22,23,29,37],null,[[null,null,null,null,null,null,[1,[["docType","Choose a content type",[["ApiReference",null,null,null,null,null,null,null,null,"API reference"],["Sample",null,null,null,null,null,null,null,null,"Code sample"],["ReferenceArchitecture",null,null,null,null,null,null,null,null,"Reference architecture"],["Tutorial",null,null,null,null,null,null,null,null,"Tutorial"]]],["category","Choose a topic",[["AiAndMachineLearning",null,null,null,null,null,null,null,null,"Artificial intelligence and machine learning (AI/ML)"],["ApplicationDevelopment",null,null,null,null,null,null,null,null,"Application development"],["BigDataAndAnalytics",null,null,null,null,null,null,null,null,"Big data and analytics"],["Compute",null,null,null,null,null,null,null,null,"Compute"],["Containers",null,null,null,null,null,null,null,null,"Containers"],["Databases",null,null,null,null,null,null,null,null,"Databases"],["HybridCloud",null,null,null,null,null,null,null,null,"Hybrid and multicloud"],["LoggingAndMonitoring",null,null,null,null,null,null,null,null,"Logging and monitoring"],["Migrations",null,null,null,null,null,null,null,null,"Migrations"],["Networking",null,null,null,null,null,null,null,null,"Networking"],["SecurityAndCompliance",null,null,null,null,null,null,null,null,"Security and compliance"],["Serverless",null,null,null,null,null,null,null,null,"Serverless"],["Storage",null,null,null,null,null,null,null,null,"Storage"]]]]]],[1],null,1],[[null,null,null,null,null,["GTM-5CVQBG"],null,null,null,null,null,[["GTM-5CVQBG",2]],1],null,null,null,null,null,1],"mwETRvWii0eU5NUYprb0Y9z5GVbc",4,null,null,null,null,null,null,null,null,null,null,null,null,null,"cloud.devsite.google"],null,"pk_live_5170syrHvgGVmSx9sBrnWtA5luvk9BwnVcvIi7HizpwauFG96WedXsuXh790rtij9AmGllqPtMLfhe2RSwD6Pn38V00uBCydV4m"]') </script> <devsite-a11y-announce></devsite-a11y-announce> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10