How to find supported Node.js version for Nest.js?

2.1k Views Asked by At

I'm new to Node.js, and I'm wondering how to determine which version of Node.js a specific version of NestJS supports. I've checked the package-lock.json file for engines property, but it doesn't seem to provide this information. I also couldn't find any documentation on the NestJS website.

Specifically, I'd like to confirm if @nestjs/testing 9.4.0 is compatible with Node.js 18.

2

There are 2 best solutions below

3
Jay McDoniel On

Node 18 is compatible with Nest v9.

More specifically, Nest v9 is compatible with Node version 12 and up, except 13 for reasons of how the unstable build worked.

Nest v10 is only compatible with 16 and up, IIRC

0
Micael Levi On

in the docs site

you can find that info here: https://docs.nestjs.com/first-steps#prerequisites