Download the Google App Engine SDK

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

Note: The App Engine SDK is under active development; please keep this in mind as
you explore its capabilities. See the 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.

There 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 -V

The 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.

Install version 5.4 of the php-cgi binary. PHP 5.4 is not
packaged on most Linux distributions so it may be easiest to install it from
source. On Debian-based Linux systems, you can use the following commands to
install PHP 5.4 in such a way that it won't affect any other versions of PHP
that you may have installed:

Note: At the time of writing, php-cgi (the binary used by
the PHP SDK) can be found in php-5.4.25/installdir/bin/php-cgi.

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.5

You will be prompted to enter a password for the MySQL root user; make sure that you remember it.

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.24.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_appengine

The 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 -V

If 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.

To install the SDK on Windows:

Double-click the SDK file you downloaded (GoogleAppEngine-1.9.24.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.

Note: The App Engine SDK is under active development; please keep this in mind as
you explore its capabilities. See the SDK Release Notes for information on the most recent changes to the App Engine SDK.
If you discover any issues, please feel free to notify us via our
Issue Tracker.

There 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 -V

The 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.

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.24.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_appengine

The 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 -V

If 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.

To install the SDK on Windows:

Double-click the SDK file you downloaded (GoogleAppEngine-1.9.24.msi)
and follow the prompts to install the SDK.

Note: The App Engine SDK is under active development; please keep this in mind as
you explore its capabilities. See the SDK Release Notes for information on the most recent changes to the App Engine SDK.
If you discover any issues, please feel free to notify us via our
Issue Tracker.

Unzip the App Engine SDK file you downloaded (appengine-java-sdk-1.9.24.zip)
to a directory of your choice. For example:

unzip appengine-java-sdk-1.9.24.zip

There is no App Engine installation script that you need to run after unzipping the files.

Add the appengine-java-sdk-1.9.24 directory to your PATH:

export PATH=$PATH:/path/to/appengine-java-sdk-1.9.24/

The App Engine Java SDK requires Java 7. Make sure Java 7 is installed on
your machine using the following command in a terminal window:

java -version
javac -version

If you have Java 7 installed, these commands will report a version number similar to
1.7.0. If you don't have Java or the correct Java version
installed, download and install the
Java SE Development Kit
(JDK) for Linux.

To install the SDK on Mac OS X:

Double click the App Engine SDK .zip file you downloaded
(appengine-java-sdk-1.9.24.zip) to extract the SDK into a folder.

The App Engine Java SDK requires Java 7. Make sure Java 7 is installed on
your machine using the following command in a terminal window:

java -version
javac -version

If you have Java 7 installed, these commands will report a version number similar to
1.7.0. If you don't have Java or the correct Java version
installed, download and install the
Java SE Development Kit
(JDK) for Mac OS X.

To install the SDK on Windows:

Double click the App Engine SDK .zip file you downloaded
(appengine-java-sdk-1.9.24.zip) to extract the SDK into a folder.

The App Engine Java SDK requires Java 7. Make sure Java 7 is installed on
your machine using the following command in a Command Prompt window:

java -version
javac -version

If you have Java 7 installed, these commands will report a version number similar to
1.7.0. If you don't have Java or the correct Java version
installed, download and install the
Java SE Development Kit
(JDK) for Windows.

Note: The App Engine SDK is under active development; please keep this in mind as
you explore its capabilities. See the SDK Release Notes for information on the most recent changes to the App Engine SDK.
If you discover any issues, please feel free to notify us via our
Issue Tracker.

Unzip the App Engine SDK file you downloaded (go_appengine_sdk_linux_amd64-1.9.24.zip
or go_appengine_sdk_linux_386-1.9.24.zip) to a directory of your choice. For example:

unzip go_appengine_sdk_linux_amd64-1.9.24.zip

There 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 -V

The 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.

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.24.zip
or go_appengine_sdk_darwin_386-1.9.24.zip) to extract the SDK to a folder.
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:

/usr/bin/env python -V

The 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. You can do this
by adding the following line to your $HOME/.profile$HOME/.bashrc, or equivalent:

export PATH=/path/to/go_appengine:$PATH

Note: The Google App Engine Launcher does not work with
Go apps.

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.24.zip
or go_appengine_sdk_windows_386-1.9.24.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 -V

The 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.