source nvm.sh if it exist
replace node with nvm in Brewfile
put node update back to chain