One of the Homebridge plugins was whining about “node” being out of date. Sure enough, when running this with Terminal:
node –version
Showed my Mac mini was running “v16….” and it needed to be upgraded to 20. Easy enough with brew:
brew install node@20
brew unlink node@16
brew link node@20 –force –overwrite
nano ~/.zshrc
In nano I edited the following line from:
export PATH=”/usr/local/opt/node@16/bin:$PATH”
to
export PATH=”/usr/local/opt/node@20/bin:$PATH”
Exit and save with:
Control (key) and X
Yes
Next I closed the Terminal window, opened a new Terminal window, and typed in:
node -v
Which now proudly says:
v20.9.0
Yes!