Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
El complemento de Cloud Code para IntelliJ agrega compatibilidad con el desarrollo de Google Cloud a la familia de IDE de JetBrains, incluidos IntelliJ (las ediciones Community y Ultimate), GoLand, PyCharm, WebStorm (y otros).
Requisitos previos
Se espera que las siguientes herramientas estén instaladas y configuradas en tu sistema, además de que se encuentren disponibles en PATH en tu máquina:
IDE de JetBrains, versión 2022.3 o posterior
El IDE de JetBrains debe ser alguno de los siguientes:
IntelliJ Ultimate o Community
PyCharm Professional o Community
WebStorm
GoLand
Git para que Cloud Code pueda realizar operaciones de Git, como clonar una muestra.
Docker para compilar y enviar las imágenes de tu contenedor
Google Cloud proyecto con la facturación habilitada si usas Google Cloud
Los proyectos te permiten recopilar todos los recursos relacionados de una sola aplicación en un solo lugar, así como administrar APIs, habilitar Google Cloudservicios, agregar y quitar colaboradores, y administrar permisos para losGoogle Cloud recursos.
Como alternativa, puedes instalar el complemento directamente desde tu IDE:
Inicia tu IDE.
Abre el mercado de complementos de tu IDE:
En Windows, ve a File > Settings > Plugins.
En macOS, navega a IntelliJ IDEA > Preferences > Plugins.
Ingresa Google Cloud Code en el campo de búsqueda y, luego, instala el complemento de Cloud Code.
Si se te solicita, reinicia el IDE para activar el complemento.
Para evitar conflictos si usas Android Studio como tu IDE, inhabilita el complemento de Google Cloud Tools for Android Studio después de instalar Cloud Code. El complemento Google Cloud Tools for Android Studio pronto dejará de estar disponible y se quitará por completo en una versión futura de Android Studio.
Dependencias administradas
De forma predeterminada, Cloud Code instala automáticamente algunas dependencias de línea de comandos obligatorias, como las siguientes:
Kubectl para trabajar con clústeres de Kubernetes y administrar sus implementaciones
Skaffold para admitir el desarrollo continuo en un clúster de Kubernetes, el etiquetado y compilación inteligente de imágenes, y un arreglo de los tipos de compilación y desarrollo compatibles
gcloud CLI para admitir la administración de recursos en Google Cloud
Versiones personalizadas de dependencias
Para usar versiones personalizadas de las dependencias, inhabilita la administración de dependencias de la siguiente manera:
Para especificar la configuración relevante de Cloud Code en tu IDE, abre Archivo > Parámetros de configuración > Herramientas > Cloud Code. > Dependencias o, para Mac OS X, IntelliJ IDEA > Preferencias > Herramientas > Cloud Code > Dependencias y configurarás la sección Herramientas de implementación.
Opcional: Descarga y verifica el archivo binario de Cloud Code
Verificar el archivo binario de Cloud Code te ayuda a asegurarte de que el complemento de Cloud Code no se haya manipulado durante el proceso de publicación y la canalización de entrega.
Para descargar el objeto binario Stable o Insiders de Cloud Code en tu máquina, sigue estos pasos:
Descarga la versión más reciente de Cloud Code o una versión que quieras verificar y que se encuentre entre las versiones actuales que admiten la verificación:
Estable: Todas las versiones posteriores a 23.1.1-221/23.1.1-222 (no se incluye 23.1.1-221/23.1.1-222)
Insiders: Todas las versiones posteriores al 23.1.1-221-IB.1/23.1.1-222-IB.1
(no se incluye el 23.1.1-221-IB.1/23.1.1-222-IB.1)
Toma nota de la ruta de acceso a tu archivo binario de Cloud Code (el archivo google-cloud-code.zip).
Para verificar el archivo binario de Cloud Code, sigue estos pasos:
Descarga la versión más reciente del archivo marketplace-zip-signer-cli.jar en tu máquina. Toma nota de la ruta de acceso a tu archivo jar.
Si la verificación falla, aparecerá uno de los siguientes mensajes en el resultado de la línea de comandos:
Zip archive is not signed by provided certificate authority.
Provided zip archive is not signed.
Signature of zip archive is invalid.
Si no ves un mensaje en el resultado de la línea de comandos, significa que la verificación se realizó correctamente.
Obtenga asistencia
Para enviar comentarios o informar un problema en tu IDE de IntelliJ, ve a Tools > Cloud Code > Help / About > Submit feedback or report an issue para informar un problema en GitHub.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[],[],null,["# Install the Cloud Code for IntelliJ plugin\n\nThe Cloud Code for IntelliJ plugin adds support for Google Cloud development to the\nJetBrains family of IDEs, including IntelliJ (both Community and Ultimate\neditions), GoLand, PyCharm, WebStorm (and others).\n\nPrerequisites\n-------------\n\n| **Note:** You must have a JetBrains IDE version of 2022.3++ to use Cloud Code for IntelliJ.\n\nThe following tools are expected to be installed and set up on your system\nand available on the `PATH` of your machine:\n\n- **JetBrains IDE version 2022.3+**\n\n Your IDE should be a JetBrains IDE such as one of the following:\n - IntelliJ Ultimate or Community\n - PyCharm Professional or Community\n - WebStorm\n - GoLand\n- **[Git](https://git-scm.com/downloads)** so that\n Cloud Code can perform Git operations, like cloning a sample.\n\n- **[Docker](https://docs.docker.com/install/)** for building and pushing your\n container images.\n\n- **Configured Kubernetes cluster** which can either be a cluster for local\n development, such as [minikube](https://kubernetes.io/docs/tasks/tools/#minikube) or\n [Docker Kubernetes](https://docs.docker.com/docker-for-mac/kubernetes/)\n cluster, or a remote cluster, such as\n [Google Kubernetes Engine cluster](/kubernetes-engine).\n A minikube cluster is recommended for local development; minikube can\n be [managed automatically](#managed_dependencies) by Cloud Code.\n\n- **[Google Cloud project](https://console.cloud.google.com/projectselector2)**\n with\n [billing enabled](/billing/docs/how-to/modify-project)\n if you're using Google Cloud.\n Projects allow you to collect all of the related resources for a single\n application in one place as well as manage APIs, enable Google Cloud\n services, add and remove collaborators, and manage permissions for\n Google Cloud resources.\n\nInstall the Cloud Code plugin\n-----------------------------\n\n[Install the Cloud Code plugin](https://plugins.jetbrains.com/plugin/8079-google-cloud-code) from the JetBrains Marketplace.\n| **Note:** When installing Cloud Code, the [Gemini Code Assist](/gemini/docs/codeassist/overview) plugin is also installed by default.\n\nAlternatively, you can install the plugin directly from your IDE:\n\n1. Launch your IDE.\n\n2. Open your IDE's plugins marketplace:\n\n - For Windows, navigate to **File** \\\u003e **Settings** \\\u003e **Plugins**.\n - For macOS, navigate to **IntelliJ IDEA** \\\u003e **Preferences** \\\u003e **Plugins**.\n3. Enter `Google Cloud Code` in the search field and then install\n the Cloud Code plugin.\n\n4. If prompted, restart your IDE to activate the plugin.\n\n5. To avoid any conflicts if you're using Android Studio as your IDE, disable\n the Google Cloud Tools for Android Studio plugin after installing\n Cloud Code. The Google Cloud Tools for Android Studio\n plugin will be deprecated soon and will be fully removed in a future version of\n Android Studio.\n\n### Managed dependencies\n\nBy default, Cloud Code installs some required command-line\ndependencies automatically, such as:\n\n- **[kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)** for working with Kubernetes clusters and managing Kubernetes deployments.\n- **[skaffold](/skaffold)** to support continuous development on a Kubernetes cluster, smart image building and tagging, and an array of supported deployment and build types.\n- **[minikube](https://minikube.sigs.k8s.io/docs/start/)** to support local development.\n- **[gcloud CLI](/sdk/install)** to support managing resources on Google Cloud.\n\n#### Custom versions of dependencies\n\nTo use custom versions of dependencies, opt out of dependency management as\nfollows:\n\n1. Specify the relevant Cloud Code settings in your IDE by opening\n **File** \\\u003e **Settings** \\\u003e **Tools** \\\u003e **Cloud Code** \\\u003e **Dependencies** or,\n for Mac OS X, **IntelliJ IDEA** \\\u003e **Preferences** \\\u003e **Tools** \\\u003e\n **Cloud Code** \\\u003e **Dependencies** , and configuring the **Deployment Tools**\n section.\n\n2. Install the relevant dependencies on your `PATH`:\n\n - [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)\n - [Skaffold](https://skaffold.dev/docs/install/)\n - [minikube](https://minikube.sigs.k8s.io/docs/start/) for local development\n - [Google Cloud CLI](/sdk/install) if developing with Google Cloud\n\nOptional: Download and verify the Cloud Code binary\n---------------------------------------------------\n\nVerifying the Cloud Code binary helps to ensure you that the\nCloud Code plugin hasn't been tampered with over the course of the\npublishing and delivery pipeline.\n\nTo download the Cloud Code *Stable* or *Insiders* binary to your\nmachine, follow these steps:\n\n1. On Cloud Code's [**Plugin versions**](https://plugins.jetbrains.com/plugin/8079-cloud-code/versions)\n page, select either the [**Stable**](https://plugins.jetbrains.com/plugin/8079-cloud-code/versions/stable) or\n [**Insiders**](https://plugins.jetbrains.com/plugin/8079-cloud-code/versions/insiders) channel.\n\n For more information on the Insiders build, see\n [Use pre-release features](/code/docs/intellij/insiders).\n2. Download the latest version of Cloud Code or a version that you\n want to verify that falls under the current versions that support\n verification:\n\n - Stable: Every release after `23.1.1-221`/`23.1.1-222`\n (`23.1.1-221`/`23.1.1-222` not included)\n\n - Insiders: Every release after `23.1.1-221-IB.1`/`23.1.1-222-IB.1`\n (`23.1.1-221-IB.1`/`23.1.1-222-IB.1` not included)\n\n3. Take note of the path to your Cloud Code binary\n (the `google-cloud-code.zip` file).\n\nTo verify the Cloud Code binary, follow these steps:\n\n1. Download the latest version of the [`marketplace-zip-signer-cli.jar`](https://github.com/JetBrains/marketplace-zip-signer/releases)\n file to your machine. Take note of the path to your `jar` file.\n\n2. Download [DigiCert Trusted Root G4](https://www.digicert.com/kb/digicert-root-certificates.htm).\n Take note of the path to your certificate file.\n\n | **Tip:** Since there are many items on the [DigiCert Trusted Root Authority Certificates page](https://www.digicert.com/kb/digicert-root-certificates.htm), use `Ctrl`/`Cmd`+`F` and search for `DigiCert Trusted Root G4`.\n3. Ensure you have the [JDK](https://www.oracle.com/ca-en/java/technologies/downloads/)\n installed. This is required to run Java commands.\n\n4. To verify the `zip` file (the Cloud Code binary), run the\n following in your command line:\n\n java -jar \u003cvar translate=\"no\"\u003ePATH_TO_ZIP_SIGNER_JAR\u003c/var\u003e verify -in \u003cvar translate=\"no\"\u003ePATH_TO_ZIP_FILE\u003c/var\u003e -cert \u003cvar translate=\"no\"\u003ePATH_TO_CERTIFICATE_FILE\u003c/var\u003e\n\n If the verification fails, one of the following messages appears in your\n command line output:\n - `Zip archive is not signed by provided certificate authority.`\n - `Provided zip archive is not signed.`\n - `Signature of zip archive is invalid.`\n\n If you don't see a message in the command line output, then the verification\n is successful.\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)."]]