Gerenciar a CLI gcloud do seu projeto no Cloud Code para IntelliJ
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
O Cloud Code exige a Google Cloud CLI para
implantar aplicativos no App Engine. Nesta página, você vai aprender a configurar o plug-in para gerenciar a CLI gcloud automaticamente ou por conta própria.
Para conferir a configuração atual da CLI gcloud:
Selecione File > Settings ou, no Mac OS X, IntelliJ IDEA > Preferences.
Na caixa de diálogo Preferences, selecione Tools > Cloud Code >
Dependencies e configure o Cloud SDK.
CLI gcloud gerenciada automaticamente
Se você não tiver a CLI gcloud configurada, o plug-in fará o download automaticamente da
versão mais recente da CLI gcloud. Ele também pode verificar e instalar atualizações periodicamente.
O plug-in verifica a CLI gcloud nos seguintes eventos:
Ao instalar o plugin
Ao iniciar o IntelliJ
Ao implantar seu aplicativo do App Engine
ao iniciar o servidor local padrão do App Engine.
Ao selecionar a opção Permitir que o plug-in gerencie e instale a CLI gcloud, o Cloud Code gerenciará a CLI gcloud.
Também é possível marcar a caixa de seleção Atualizar automaticamente o SDK para permitir que o plug-in atualize a CLI gcloud. Se a CLI gcloud estiver desatualizada, o botão Atualizar agora será ativado para que você possa atualizar a CLI gcloud imediatamente.
CLI gcloud autogerenciada
Caso tenha configurado anteriormente o Cloud Code com a
CLI gcloud, ele continuará usando essa instalação.
Para continuar gerenciando a CLI gcloud:
Na página SDK do Cloud, selecione a opção Usar uma instalação local personalizada.
Clique no ícone de pasta Procurar ao lado do campo e navegue até a
CLI gcloud que você quer usar.
Clique em OK.
O IntelliJ usa a instalação especificada. Se quiser atualizar a
CLI gcloud, faça o download da versão desejada e selecione o caminho para ela nessa caixa de diálogo.
Receber suporte
Para enviar um feedback ou informar um problema no ambiente de desenvolvimento integrado do IntelliJ, acesse
Tools > Cloud Code > Help / About > Envie
feedback ou informe um problema para informar um problema no GitHub.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[[["\u003cp\u003eCloud Code uses the Google Cloud CLI (gcloud CLI) for deploying applications to App Engine, and the configuration can be found in the IntelliJ settings under Tools > Cloud Code > Dependencies.\u003c/p\u003e\n"],["\u003cp\u003eThe plugin can automatically manage the gcloud CLI, downloading the latest version and updating it as needed, or you can choose to manage a specific gcloud CLI installation yourself.\u003c/p\u003e\n"],["\u003cp\u003eAutomatic gcloud CLI management includes checks for the CLI during plugin installation, IntelliJ startup, App Engine application deployment, and starting the App Engine standard local server.\u003c/p\u003e\n"],["\u003cp\u003eIf opting for self-management, users can specify a custom gcloud CLI installation path in the settings, and any updates to the gcloud CLI must be downloaded and manually selected within this dialog.\u003c/p\u003e\n"],["\u003cp\u003eUsers can submit feedback or report an issue with cloud code by going to \u003cstrong\u003eTools\u003c/strong\u003e > \u003cstrong\u003eCloud Code\u003c/strong\u003e > \u003cstrong\u003eHelp / About\u003c/strong\u003e > \u003cstrong\u003eSubmit feedback or report an issue\u003c/strong\u003e to report an issue on GitHub.\u003c/p\u003e\n"]]],[],null,["# Manage the gcloud CLI for your project in Cloud Code for IntelliJ\n\nCloud Code requires the [Google Cloud CLI](/sdk/docs) to\ndeploy applications to App Engine. This page describes how to\nconfigure the plugin to automatically manage the gcloud CLI or to allow you to manage\nthe gcloud CLI yourself.\n| **Note:** The following IDEs support this feature:\n|\n| - IntelliJ IDEA - Ultimate\n| - IntelliJ IDEA - Community\n\nTo view the current gcloud CLI configuration:\n\n1. Select **File** \\\u003e **Settings** or for Mac OS X, **IntelliJ IDEA** \\\u003e\n **Preferences**.\n\n2. Within the **Preferences** dialog, select **Tools** \\\u003e **Cloud Code** \\\u003e\n **Dependencies** and configure the **Cloud SDK** section.\n\nAuto-managed gcloud CLI\n-----------------------\n\nIf you don't have the gcloud CLI configured, then the plugin automatically downloads the\nlatest version of the gcloud CLI. It can also periodically check for and install\nupdates.\n\nThe plugin checks for the gcloud CLI at the following events:\n\n- when you install the plugin\n\n- when you start IntelliJ\n\n- when you deploy your App Engine application\n\n- when you start the App Engine standard local server\n\nWhen you select the\n**Allow the plugin to manage and install the gcloud CLI** option, then\nCloud Code manages the gcloud CLI.\n\nYou can also select the **Automatically update the SDK** checkbox to allow the\nplugin to update the gcloud CLI. If your gcloud CLI is out of date, the\n**Update now** button is enabled, so that you can update your gcloud CLI immediately.\n\nSelf-managed gcloud CLI\n-----------------------\n\nIf you previously configured Cloud Code with the\ngcloud CLI, then it continues to use that installation.\n\nTo continue to manage the gcloud CLI yourself:\n\n1. On the **Cloud SDK** page, select the\n **Use a custom local installation** option.\n\n2. Click the **Browse** folder icon next to the field and navigate to the\n gcloud CLI you want to use.\n\n3. Click **OK**.\n\n IntelliJ uses the specified installation. If you want to update your\n gcloud CLI, you should first download the desired gcloud CLI and then\n select the path to it on this dialog.\n\nGet support\n-----------\n\nTo submit feedback or report an issue in your IntelliJ IDE, go to **Tools** \\\u003e **Cloud Code** \\\u003e **Help / About** \\\u003e **Submit\nfeedback or report an issue** to report an issue on [GitHub](https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues)."]]