Setting Up Your Development Environment
To set up your environment for developing on Node.js:
Install the latest release of Node.js.
for a list of the supported versions, or see
for information about using other Node.js 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
command to update to the latest release.
gcloud components update
By downloading, you agree to be bound by the
govern use of the gcloud CLI for App Engine.
For access to code, samples, libraries, and tools in
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
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,
To easily manage your Node.js and npm installations, install
Node Version Manager (nvm):
If you use Windows, see
Install your preferred tooling or framework, for example you can use the
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 2022-06-24 UTC.
"label":"Hard to understand"
"label":"Incorrect information or sample code"
"label":"Missing the information/samples I need"
"label":"Easy to understand"
"label":"Solved my problem"
Need to tell us more?