platformio upgrade
pio upgrade
Check or upgrade PlatformIO to the latest version
Use development branch.
> platformio upgrade
You are up-to-date!
PlatformIO x.x.x is currently the newest version available.
# If you have problem with permissions try:
> sudo platformio upgrade