'Determine which version of node I have to use for my project

I am currently working on different node projects on my Mac and use nvm to manage node versions. The thing is that I have to switch node versions every time I change folders and work on the other project with nvm use ... and the required version number. I obviously can't run npm ... nor node -v since they're not installed until I choose the version I want to use. So how can I determine which version of node I should use for a given project ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source