I installed node.js on my Mac and I can find the files under /usr/local/bin. But when I try to use the command "node" in the terminal, it says "-bash: node: command not found"
$ echo $PATH
Returns:
./usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home//bin
/usr/local/bin is under the path, and there is a dot in front of it. I guess the dot has something to do with that the command is not found.
What does the dot exactly mean? And what can I do to make the command work in the terminal?