Download the Google App Engine SDK
Note: The App Engine SDK is under active development; please keep this in mind as you explore its capabilities. See the Java | Python | Go | PHP SDK Release Notes for information on the most recent changes to the App Engine SDK. If you discover any issues, feel free to notify us via our Issue Tracker.
By downloading, you agree to be bound by the Terms that govern use of the App Engine SDK.
Contents
Google App Engine SDK for Python
Google App Engine SDK for Java
Google App Engine SDK for PHP
Google App Engine SDK for Go
Previous SDK versions
Google App Engine SDK for Python
Platform | Version | Package | Size | SHA1 Checksum |
---|---|---|---|---|
Windows | 1.9.36 - 2016-04-18 | 53.8 MB | 960cfe2157c6e984802db4b0224cfe8273d727dc | |
Mac OS X | 1.9.36 - 2016-04-18 | 58.7 MB | 88f267fedca0f02f951107389f85aa3350d71137 | |
Linux/Other Platforms | 1.9.36 - 2016-04-18 | 40.2 MB | 8920584d79332098c2a8248d908a6e27ad7f5697 |
Installing on Linux
To install on Linux:
Unzip the App Engine SDK file you downloaded (google_appengine_1.9.36.zip), for example:
unzip google_appengine_1.9.36.zipThere is no App Engine installation script that you need to run after unzipping the files.
Add the
google_appengine
directory to your PATH:export PATH=$PATH:/path/to/google_appengine/Make sure Python 2.7 is installed on your machine using the following command:
/usr/bin/env python -VThe output should look like this:
Python 2.7.<number>
. If Python 2.7 isn't installed, install it now using the installation instructions for your Linux distribution.
Installing on Mac OS X
To install the SDK on Mac OS X:
In the Finder, click Go > Applications to open the Applications folder.
Double click the App Engine SDK file you downloaded (GoogleAppEngineLauncher-1.9.36.dmg) to open it, then drag the GoogleAppEngineLauncher icon over to the Applications folder.
Double-click GoogleAppEngineLauncher in the Application folder.
When prompted to Make command symlinks, click OK. The symlinks allow you to run important SDK command-line tools in any terminal window.
Important: The GoogleAppEngineLauncher is a convenient UI-based tool for running and deploying App Engine apps, but it does not provide all the features you'll need. You will need to use the command-line equivalent,
appcfg.py
, for many of the features you'll want to use.Notice that the installation process above unpacks the contents of the App Engine SDK at the location:
/usr/local/google_appengineThe App Engine SDK requires Python 2.7, which is installed by default on Mac OS X 10.6 (Lion) or later. Verify your Mac's Python installation using the following command:
/usr/bin/env python -VIf the output looks like
Python 2.7.<number>
then you already have the correct Python version installed. Otherwise you can download and install Python 2.7 from the Python web site.
Installing on Windows
To install the SDK on Windows:
Double-click the SDK file you downloaded (GoogleAppEngine-1.9.36.msi) and follow the prompts to install the SDK.
You will need Python 2.7 to use the App Engine SDK, because the Development Server is a Python application. Download Python 2.7.X (don't use a higher version) from the Python web site.
See the Python documentation for more information on developing for Google App Engine with Python.
Google App Engine SDK for Java
Version | Package | Size | SHA1 Checksum |
---|---|---|---|
1.9.36 - 2016-04-18 | 204.6 MB | 2aca5d41f3c6f6bb0af074f2e39c9e06b94ad61e |
Installing on Linux
To install on Linux:
Unzip the App Engine SDK file you downloaded (appengine-java-sdk-1.9.36.zip) to a directory of your choice. For example:
unzip appengine-java-sdk-1.9.36.zipThere is no App Engine installation script that you need to run after unzipping the files.
Add the
appengine-java-sdk-1.9.36
directory to your PATH:export PATH=$PATH:/path/to/appengine-java-sdk-1.9.36/bin/The App Engine Java SDK requires Java 7 bytecode level. You can use either Java 7 or Java 8; be sure to set the javac compiler flags to generate 1.7 bytecode:
-source 1.7 -target 1.7If you don't have Java or the correct Java version installed, download and install the Java SE Development Kit (JDK) for Linux.
Installing on Mac OS X
To install the SDK on Mac OS X:
Double click the App Engine SDK
.zip
file you downloaded (appengine-java-sdk-1.9.36.zip) to extract the SDK into a folder.The App Engine Java SDK requires Java 7 bytecode level. You can use either Java 7 or Java 8; be sure to set the javac compiler flags to generate 1.7 bytecode:
-source 1.7 -target 1.7If you don't have Java or the correct Java version installed, download and install the Java SE Development Kit (JDK) for Mac OS X.
Add the
appengine-java-sdk-1.9.36
directory to your PATH:export PATH=$PATH:/path/to/appengine-java-sdk-1.9.36/bin/
Installing on Windows
To install the SDK on Windows:
Double click the App Engine SDK
.zip
file you downloaded (appengine-java-sdk-1.9.36.zip) to extract the SDK into a folder.The App Engine Java SDK requires Java 7 bytecode level. You can use either Java 7 or Java 8; be sure to set the javac compiler flags to generate 1.7 bytecode:
-source 1.7 -target 1.7If you don't have Java or the correct Java version installed, download and install the Java SE Development Kit (JDK) for Windows.
Google App Engine SDK for PHP
Platform | Version | Package | Size | SHA1 Checksum |
---|---|---|---|---|
Windows | 1.9.36 - 2016-04-18 | 53.8 MB | 960cfe2157c6e984802db4b0224cfe8273d727dc | |
Mac OS X | 1.9.36 - 2016-04-18 | 58.7 MB | 88f267fedca0f02f951107389f85aa3350d71137 | |
Linux/Other Platforms | 1.9.36 - 2016-04-18 | 40.2 MB | 8920584d79332098c2a8248d908a6e27ad7f5697 |
Installing on Linux
To install on Linux:
Unzip the App Engine PHP file you downloaded (google_appengine_1.9.36.zip). For example:
unzip google_appengine_1.9.36.zipThere is no App Engine installation script that you need to run after unzipping the files.
Add the
google_appengine
directory to your PATH:export PATH="$PATH:/path/to/google_appengine/"Make sure Python 2.7 is installed on your machine using the following command:
/usr/bin/env python -VThe output should look like this:
Python 2.7.<number>
. If Python 2.7 isn't installed, install it now using the installation instructions for your Linux distribution.Build and install the PHP interpreter and App Engine PHP extension. Specify the path to
php-cgi
andgae_runtime_module.so
when running the development server.Install MySQL on your local machine. (You will need this to test your app locally.) On Debian-based Linux systems, you can use the following command:
sudo apt-get install mysql-server-5.5You will be prompted to enter a password for the MySQL root user; make sure that you remember it.
Installing on Mac OS X
To install the SDK on Mac OS X:
In the Finder, click Go > Applications to open the Applications folder.
Double click the App Engine SDK file you downloaded (GoogleAppEngineLauncher-1.9.36.dmg) to open it, then drag the GoogleAppEngineLauncher icon over to the Applications folder.
Double-click GoogleAppEngineLauncher in the Application folder.
When prompted to Make command symlinks, click OK. The symlinks allow you to run important SDK command-line tools in any terminal window.
Important: The GoogleAppEngineLauncher is a convenient UI-based tool for running and deploying App Engine apps, but it does not provide all the features you'll need. You will need to use the command-line equivalent,
appcfg.py
, for many of the features you'll want to use.Notice that the installation process above unpacks the contents of the App Engine SDK at the location:
/usr/local/google_appengineThe App Engine PHP SDK requires Python 2.7, which is installed by default on Mac OS X 10.6 (Lion) or later. Verify your Mac's Python installation using the following command:
/usr/bin/env python -VIf the output looks like
Python 2.7.<number>
then you already have the correct Python version installed. Otherwise you can download and install Python 2.7 from the Python web site.Most PHP apps use a MySQL backend, which is not packaged with the App Engine SDK. To setup MySQL, visit the MySQL Downloads page; the "Community Server" edition will suffice for your local development.
Installing on Windows
To install the SDK on Windows:
Double-click the SDK file you downloaded (GoogleAppEngine-1.9.36.msi) and follow the prompts to install the SDK.
You will need Python 2.7 to use the App Engine PHP SDK, because the Development Server is a Python application. Download Python 2.7.X (don't use a higher version) from the Python web site.
Note: The PHP SDK includes binaries for the PHP 5.4 runtime, including all enabled extensions, so there is no need to download PHP separately for the purposes of developing with App Engine -- you just need Python.
Most PHP apps use a MySQL backend, which is not packaged with the App Engine SDK. To set up MySQL, visit the MySQL Downloads page; the "Community Server" edition will suffice for your local development.
See the PHP documentation for more information on developing for Google App Engine with PHP.
Google App Engine SDK for Go
Platform | Version | Package | Size | SHA1 Checksum |
---|---|---|---|---|
Linux 64-bit | 1.9.36 - 2016-04-18 | 59.7 MB | 91ce2e3608c25e8c1ac3155ab5041abeb537c8e6 | |
Linux 32-bit | 1.9.36 - 2016-04-18 | 57.8 MB | f52e31cba487373f0605f5d5e37257e4c7fddc42 | |
Mac OS X 64-bit | 1.9.36 - 2016-04-18 | 59.5 MB | e2d015107f2fe46554e7d53e3ebaa7b0685b70a6 | |
Mac OS X 32-bit | 1.9.36 - 2016-04-18 | 57.6 MB | e392bc77d847b1ca14669e68d0ba6b4ca8755a47 | |
Windows 64-bit | 1.9.36 - 2016-04-18 | 60.2 MB | c63764c8dec821ec818c613aa35b8bedf4518c9f | |
Windows 32-bit | 1.9.36 - 2016-04-18 | 58.2 MB | 7e256e20fe5c2a2f42fbfd1a1d553106704f16b4 |
Installing on Linux
To install on Linux 32-bit or 64-bit:
Unzip the App Engine SDK file you downloaded (go_appengine_sdk_linux_amd64-1.9.36.zip or go_appengine_sdk_linux_386-1.9.36.zip) to a directory of your choice. For example:
unzip go_appengine_sdk_linux_amd64-1.9.36.zipThere is no App Engine installation script that you need to run after unzipping the files.
Add the
go_appengine
directory to your PATH:export PATH=$PATH:/path/to/go_appengine/Go requires Python 2.7.x; don't use a higher version. (The Go SDK uses tools from the App Engine Python SDK, so Python is required.) Make sure Python 2.7 is installed on your machine using the following command:
/usr/bin/env python -VThe output should look like this:
Python 2.7.<number>
. If Python 2.7 isn't installed, install it now using the installation instructions for your Linux distribution.
Installing on Mac OS X
To install the SDK on Mac OS X 32-bit or 64-bit:
Double-click the App Engine SDK file you downloaded (go_appengine_sdk_darwin_amd64-1.9.36.zip or go_appengine_sdk_darwin_386-1.9.36.zip) to extract the SDK to a folder. It doesn't matter where you install the SDK. We suggest adding the folder to your PATH:
export PATH=/path/to/go_appengine:$PATHGo requires Python 2.7.x; don't use a higher version. (The Go SDK uses tools from the App Engine Python SDK, so Python is required.) Make sure Python 2.7 is installed on your machine using the following command:
/usr/bin/env python -VThe output should look like this:
Python 2.7.<number>
. If Python 2.7 isn't installed, install it now from the Python web site.
Note: The Google App Engine Launcher does not work with Go apps.
Installing on Windows
To install the SDK on Windows 64-bit or 32-bit:
Double-click the App Engine SDK file you downloaded (go_appengine_sdk_windows_amd64-1.9.36.zip or go_appengine_sdk_windows_386-1.9.36.zip) to extract the SDK files to a location of your choice. It doesn't matter where you install the SDK; however you might want to add the location to your %PATH%.
Go requires Python 2.7.x; don't use a higher version. (The Go SDK uses tools from the App Engine Python SDK, so Python is required.) Make sure Python 2.7 is installed on your machine using the following command:
python -VThe output should look like this:
Python 2.7.<number>
. If Python 2.7 isn't installed, install it now from the Python web site.Optionally, to simplify development and deployment, consider adding the App Engine Go SDK directory to your PATH environment variable by finding the "Environment Variables" in the Advanced System Settings dialog and setting it there.
See the Go documentation for more information on developing for Google App Engine with Go.
Previous SDK versions
SDKs for previous versions of App Engine can be accessed at https://console.cloud.google.com/storage/appengine-sdks/deprecated/. You will need to log in with your Google credentials to access this page.