I ran some setups like node upgrade and npm install -g and everything worked. However, after I restart the environment, I have to run the node upgrade again with npm install -g. Is there a way to keep these installations permanent?
please see Node version not persisting you need to use nvm alias command to change the default version of node
I tried and it is not working. I restarted the instance and the node instance is back to 2.15.11. Any other suggestions?
what command did you use to upgrade node?
nvm install node && nvm alias default node && npm update npm -g
nvm alias default <version>
nvm install stable
nvm alias default stable
And it sticks to this stable version