At the moment npm install/build are using with node 8.9.4 (and with npm 5.6.0). And during deploying some code it always reinstall modules and I spend a lot of time. I know that it should cache packages but it doesn't work. So I want to update my node version and make the version 16.11.0 (with npm version 8.0.0) as stable. Because when I make nvm list
it shows me with the green arrow near 8.9.4. Also when I make node --v
it also shows me version 8.9.4.
So how I can update the node version to 16.11.0 in my project? Also it should be available for other developers. When they open the project and start npm install/build it should use node 16.11.0 with npm 8.0.0.