Homebrew (macOS)

The latest stable version of PIO may be installed or upgraded via macOS Homebrew Packages Manager (brew) as follows:

brew install platformio