update node version mac

Shell
sudo n latestnvm use --delete-prefix $NODE_VERSION

example:
nvm use --delete-prefix v8.9.41 brew update
2 brew upgrade node
Source

Also in Shell: