brew install node
それでこれでた。
Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae Updated 1 formula. ==> Downloading https://homebrew.bintray.com/bottles/icu4c-67.1.big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/114cce72e22c5eb713f56b9f91a076b2f2d5930152d3638a95c6decee511aa3e?response-content-disposition=attachment%3Bfilename%3D%22icu4 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/node-15.5.0.big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/05a1a6c4ac9994ab88fe176769d9f139cf5dc3a22a6a1f81a33cf805a5dfff52?response-content-disposition=attachment%3Bfilename%3D%22node ######################################################################## 100.0% ==> Installing dependencies for node: icu4c ==> Installing node dependency: icu4c ==> Pouring icu4c-67.1.big_sur.bottle.tar.gz ==> Caveats icu4c is keg-only, which means it was not symlinked into /usr/local, because macOS provides libicucore.dylib (but nothing else). If you need to have icu4c first in your PATH run: echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.zshrc For compilers to find icu4c you may need to set: export LDFLAGS="-L/usr/local/opt/icu4c/lib" export CPPFLAGS="-I/usr/local/opt/icu4c/include" For pkg-config to find icu4c you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig" ==> Summary 🍺 /usr/local/Cellar/icu4c/67.1: 258 files, 71.8MB ==> Installing node ==> Pouring node-15.5.0.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/node/15.5.0: 3,291 files, 55.5MB ==> Caveats ==> icu4c icu4c is keg-only, which means it was not symlinked into /usr/local, because macOS provides libicucore.dylib (but nothing else). If you need to have icu4c first in your PATH run: echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.zshrc For compilers to find icu4c you may need to set: export LDFLAGS="-L/usr/local/opt/icu4c/lib" export CPPFLAGS="-I/usr/local/opt/icu4c/include" For pkg-config to find icu4c you may need to set:
icu4cって? ICUはInternational Components for Unicodeの略で、その名の通りUnicodeに関するあれこれを扱ってくれるライブラリです。
これでパス通しておけばいいのかも?
echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.zshrc