Upgrade Node to the latest stable on mac code example Example: upgrading node on mac 1 brew update 2 brew upgrade node