how to use a specific node version for inside a folder

JavaScript
Make sure to CD into the root directory of the project, then run the following commands.
NOTE: You can change the version number to any other version.
>npm install -D [email protected]
>./node_modules/.bin/node --version
>v11.4.0
Source

Also in JavaScript: