Setting Up Your Development Environment

To set up your environment for developing on Go:

  1. Download and install the latest release of Go.

    See Go Runtime for a list of the supported versions, or see Custom Runtimes for information about using other Go versions.

  2. Download, install, and then initialize the Cloud SDK. If you already have the Cloud SDK installed, run the gcloud components update command to update to the latest release.

    The Cloud SDK provides you the gcloud command-line tooling for deploying and managing your apps.

    By downloading, you agree to be bound by the Terms that govern use of the Cloud SDK for App Engine.

    Download and Install the Cloud SDK

  3. Run the following command in your terminal to install the gcloud component that includes the App Engine extension for Go:

     gcloud components install app-engine-go

Installing optional tools