How to make cursor AI to respect .nvmrc

Hi there. I have a lot of repos, each with own .nvmrc file where projects nodejs version mentioned

Currently, when working with cursor agent mode when it is running commands of node or npm it uses v 16 (just default of nvm)

When cursor runs project build, or tests, it is almost always run it in wrong node version, so each time I need to stop, and remind it to use nvm use 22

I have a rule for that, but it kind of randomly ignore.

How you deal with that? especially, when you add few projects with different node version to workspace. it becomes more challanging.