Node
Install
The current long-term support (LTS) version is 20.
brew install node@20
Then copy and paste the following commands into the terminal to set up the node for zsh.
{ echo $PATH | grep -q "$(brew --prefix)/opt/node@20/bin" ; } || echo 'export PATH="$(brew --prefix)/opt/node@20/bin:$PATH"
export LDFLAGS="-L$(brew --prefix)/opt/node@20/lib"
export CPPFLAGS="-I$(brew --prefix)/opt/node@20/include"
' >> $HOME/.zshrc