Reputation: 4483
After upgrading node using chocolatey I type in the command node -v and it returns the wrong version number. Some one solved the same issue with homebrew here using an override command.
How can I solve this problem using chocolatey?
Upvotes: 2
Views: 1125
Reputation: 657
Start by making sure you restart bash. I've seen the versions not update in the same window I used to install the new version. If that doesn't do it then I would also remove the old version of node.
The where node
command is helpful for finding that pesky old version.
Upvotes: 2