Setting Up Your Development Environment

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

  1. Download and install the latest release of Node.js.

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

  2. Download, install, and then initialize the Cloud SDK. If you already have the Cloud SDK installed, run the gcloud components update command to update to the latest release.

    The Cloud SDK provides you the gcloud command-line tooling for deploying and managing your apps.

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

    Download and Install the Cloud SDK

Installing optional tools

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

    Download and 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.