How to write a .nvmrc file which automatically change node version

As @Aditya-M-P has already mentioned you can run the following command inside your projects root directory to generate the .nvmrc to set a desired NodeJS version for you project to work properly: It will generate something like this inside your .nvmrc file: Also using 10.16.2 without the v letter will work just fine. However, in the official documentation in the .nvmrc section it never mentions … Read more