In here, we use Homebrew to upgrade & downgrade you node version
1. Check your node version and search your node lists
brew search node
node -v
2. Unlink your current node version
brew unlink node
+ If(I don't have that version I want to use!) {
brew install node@14
}
You can use that command to install the version
3. Install new node version that you want
brew link --overwrite --force node@19
+ you can link your node versions like node@19 / node@12 / node@18 / etc..
End