Use the following steps to set up your local environment for developing and deploying your App Engine services:
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.
Install and initialize the gcloud CLI for deploying and managing your apps. If you already have the gcloud CLI installed and initialized, run the
gcloud components update
command to update to the latest release.By downloading, you agree to be bound by the Terms that govern use of the gcloud CLI for App Engine.
Install the gcloud component that includes the App Engine extension for Go. If you used the
apt
oryum
package managers to install the gcloud CLI, use those same package managers to install the gcloud component.Otherwise, use the following command:
gcloud components install app-engine-go
Optional tools:
Install Git for access to code, samples, libraries, and tools in the Google Cloud GitHub repository.