Não foi possível vincular / executar o Node.js v6 no Homebrew
Estou tentando instalar especificamente o Node.js v6, o que está se mostrando confuso.
Em um novo MacBook executando o Sierra, executei:brew install node@6
Isso me deu:
Please note by default only English locale support is provided. If you need
full locale support you should either rebuild with full icu:
`brew reinstall node --with-full-icu`
or add full icu data at runtime following:
https://github.com/nodejs/node/wiki/Intl#using-and-customizing-the-small-icu-build
This formula is keg-only, which means it was not symlinked into /usr/local.
This is an alternate version of another formula.
If you need to have this software first in your PATH run:
echo 'export PATH="/usr/local/opt/node@6/bin:$PATH"' >> ~/.zshrc
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/node@6/lib
CPPFLAGS: -I/usr/local/opt/node@6/include
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
/usr/local/Cellar/node@6/6.9.5: 3,891 files, 41.3M
Se eu correrwhich node
, Eu recebonode not found
. Se eu correrbrew link node
, Eu receboError: No such keg: /usr/local/Cellar/node
. Eu também corrisudo chown -R $USER /usr/local
.
Como posso "vincular" o Node.js v6 para que outro software possa encontrá-lo? Eu corroecho 'export PATH="/usr/local/opt/node@6/bin:$PATH"' >> ~/.zshrc
? Não quero executar nada de que não tenha certeza.