Confused about versions using ESP32

I have two platforms installed that are named the same thing (Espressif 32), one that is at version 2023.11.1 and another that is at 6.1.0. Neither of these correspond to arduino-esp32 github tags. How do I know which arduino-esp32 version I am using, and how do I select which one I want to use? For example, I want to pin to 2.0.14 or try out 3.0.0-alpha3.

As the release logs for the Espressif32 6.1.0 PlatformIO platform say:

Release 6.1.0 · platformio/platform-espressif32 · GitHub

That is using Arduino-ESP32 v2.0.7.

I cannot find where there “2023.11.1” comes from, maybe it is a deleted tag of Jason2866/platform-espressif32, which would be a third-party platform.

In any case, you can always see which Arduino-ESP32 is used by looking at the “PACKAGES:” list in the build output of PlatformIO, there it will be listed as the version of the framework-arduinoespressif32 pacakge. To know which espressif32 platform version will use which Arduino-ESP32 version, you look at the release logs.

To use 2.0.14: platform = espressif32@6.5.0 (stable + official)
To use 3.x.: platform = (unofficial integration, see issue)