> For the complete documentation index, see [llms.txt](https://textav.gitbook.io/firebase-react-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://textav.gitbook.io/firebase-react-notes/cloud-functions/set-node-version.md).

# Set node version

> Set the version in the `engines` field in the `package.json` file that was created in your `functions/` directory during initialization. For example, to use only version 12, edit this line in `package.json`:

```javascript
  "engines": {"node": "12"}
```

{% embed url="<https://firebase.google.com/docs/functions/manage-functions#set_nodejs_version>" %}
