prompt

% brew upgrade node Warning: node 21.2.0 already installed % node -v v18.13.0 % rehash % node -v v18.13.0


What's wrong? What should I do?

gpt.iconwhich node nishio.icon% which node /Users/nishio/.nvm/versions/node/v18.13.0/bin/node gpt.iconThe output from which node indicates that the version of Node.js being used is managed by nvm (Node Version Manager), not Homebrew. nvm install 21.2.0


This page is auto-translated from /nishio/日記2023-11-29 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.