強行鏈接[email protected]
可以嗎?我可以強制鏈接節點@ 6嗎?
$ which node
$ echo $?
1
$ brew link node
Error: No such keg: /usr/local/Cellar/node
$ brew search node
leafnode llnode node node-build [email protected] [email protected] [email protected] [email protected] [email protected] ✔ nodebrew nodeenv nodenv
Caskroom/cask/mindnode-pro Caskroom/cask/node-profiler Caskroom/cask/nodebox Caskroom/cask/nodeclipse Caskroom/cask/printnode Caskroom/cask/soundnode
$ brew link [email protected]
Warning: [email protected] is keg-only and must be linked with --force
Note that doing so can interfere with building software.
編輯:
我繼續做它:
$ brew link [email protected] --force
Linking /usr/local/Cellar/[email protected]/6.9.5... 7 symlinks created
node
和npm
做工精細了。 可怕的警告。