node problm mac
1) Make sure that /usr/local/bin is in your $PATH.
echo $PATH
2) open file system path :
touch ~/.bash_profile; open ~/.bash_profile
Or
sudo vi /etc/paths
3) Edit your path
// edit your vim file code
//To insert text press i and you can start editing
//Press Esc key and type :wq to save a file AND exit
//Press Esc key and type :w to save WITHOUT exiting
4) final check command : node --version