# 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>" %}
