【发布时间】:2019-09-26 00:59:03
【问题描述】:
我安装了这个版本的节点
localhost:pplsi.accounts davea$ node -v
v10.16.3
localhost:mydir davea$ which node
/usr/local/bin/node
我更喜欢使用自制版本,所以我尝试了
localhost:mydir davea$ brew upgrade node
Updating Homebrew...
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
==> Auto-updated Homebrew!
Updated 3 taps (phinze/cask, homebrew/core and homebrew/cask).
==> Updated Formulae
rabbitmq
Error: node 12.10.0 already installed
但我的节点仍然显示为旧版本
localhost:pplsi.accounts davea$ node -v
v10.16.3
如何用安装的自制软件替换我的节点?
【问题讨论】: