Search code examples
intellij-ideagoogle-cloud-platformgcloud

Location of managed Cloud SDK in IntelliJ


I use Google Cloud Code plugin for IntelliJ to develop a Scala JVM application (which is mostly the same as Java application). I would like to execute a few command lines using gcloud, which is part of Google Cloud SDK. When installing the plugin, it has installed a "managed Cloud SDK" by default, and there is an option to provide my own SDK installation instead.

As I like having the SDK managed and updated by the IDE, I would prefer not to have do this on my own just to run a few gcloud commands. Where is the automatically managed SDK located?

I am running on Windows 10 x64, but I guess if the answer could be provided for other platforms as well, it could benefit other users.


Solution

  • There is much easier option to use a set of managed Cloud Code CLI tools, including managed Cloud SDK: use Menu -> Tools -> Cloud Code -> Tools -> Cloud Code Terminal. This opens a new terminal window where all managed tools paths are preconfigured and readily available.