Mkspiffs location

I was wondering were is located the mkspiffs executable used when using “Build file system image”?
I get in my terminal :
“mkspiffs_espressif32_espidf” -c data -p 256 -b 4096 -s 327680 .pio/build/esp-wrover-kit/spiffs.bin
but I’m unable to find the location of this exec, nor where this line is launched.

I’m using framework = espidf, arduino.

Thank you.

As per documentation, all toolchains / tools / framework code are organized as packages whose data is stored in <home folder>/.platformio/packages/, and in this case, tool-mkspiffs. PlatformIO also prints the used packages at the start of compilation.