search

Home  >  Q&A  >  body text

node.js - brew cannot find node after installing node

b1anker@B1ankerdeMBP:/usr/local/bin|
⇒  brew switch node@6 6.10.3
Cleaning /usr/local/Cellar/node@6/6.10.3
Opt link created for /usr/local/Cellar/node@6/6.10.3
b1anker@B1ankerdeMBP:/usr/local/bin|
⇒  node -v
zsh: command not found: node
b1anker@B1ankerdeMBP:/usr/local/bin|
⇒

How to fix it? It was possible before. .

大家讲道理大家讲道理2754 days ago757

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-05-17 09:58:37

    Can I find it via npm? Try the nodejs command. If the nodejs command can be found, just create a soft connection to node.

    reply
    0
  • Cancelreply