I have a Mac running macOS 10.13.1. After installing Homebrew successfully, I tried to intall Node.js with
brew install node
The installation seems to complete fine in the terminal, however following up with a version check ;
node -v
results in
-bash: node: command not found
Any pointers on how to fix this ?, I am trying to avoid to have to install node from binary.
try running this command
brew link node
I was having this issue but it was because I was installing an older version of node. For older versions, the path isn't modified automatically to avoid colliding with the potentially installed up to date version. After running the brew install command, it should give you instructions on how to add it to your path if thats what you want to do.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With