Send feedback
Setting up your development environment
Stay organized with collections
Save and categorize content based on your preferences.
Go
Java
Node.js
PHP
Python
Ruby
Use the following steps to set up your local environment for developing and
deploying your App Engine services:
Install the latest release of Node.js.
See Node.js Runtime Environment
for a list of the supported 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.
Optional tools :
Install Git for access to code,
samples, libraries, and tools in the Google Cloud
GitHub repository.
The npm package manager is usually installed
alongside Node.js, but you also have the option to install the
Yarn package manager
as an alternative.
Important:
For the best experience on Windows, upgrade to the latest version of
Node.js package manager (npm
) by running npm install -g npm
. The
latest npm
installs dependencies in a flat directory structure, so
installations are unlikely to conflict with the Windows maximum path
length of 255 characters. If you prefer to keep using an older version of
npm
, you can reduce the length of paths by moving your project to the
root of your drive, for example, C:\
.
Install nvm
to easily manage your Node.js and npm installations.
If you use Windows, see
nvm-windows .
Install your preferred tooling or framework, for example you can use the
Express.js framework.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-26 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?