I installed nano 3.0 with brew install nano, but when I run nano --version, it shows version 2.0.6, which is what came with macOS.
echo $PATH also shows that /usr/local/bin is listed before /usr/bin
How do I make running nano use version 3.0 and not 2.0.6?
This doesn't help as nano is already in /usr/local/bin and /usr/local/bin is listed first in $PATH and /etc/paths.

hash -rsolution as an answer so I can accept it? – airsquared Sep 14 '18 at 05:02/etc/pathsdoesn't matter much, it's a mere template to build yourPATHenv variable, which may be later modified. So you should rather check output ofecho $PATH– Michał Szajbe Sep 14 '18 at 05:22