Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Node.js 16 is now generally available.

Setting Up Your Development Environment

To set up your environment for developing on Node.js:

  1. Install the latest release of Node.js.

    See Node.js Runtime Environment for a list of the supported versions.

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

Installing optional tools

  • For access to code, samples, libraries, and tools in GitHub, install Git:

    Install Git

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

  • To easily manage your Node.js and npm installations, install Node Version Manager (nvm):

    Install nvm

    If you use Windows, see nvm-windows.

  • Install your preferred tooling or framework, for example you can use the Express.js framework.