$ brew update $ brew uninstall node $ brew install node $ brew postinstall node #This what the important step