In fact, that’s one of the things you first notice about PlatformIO is that it can’t decide if it is a GUI tool or a command line tool. I suspect some of that is in the IDE choice, too.
In Arduino IDE 1 (specifically v1.6.2 onwards), you ... via GitHub, via the PlatformIO library page, or finally, via another ...