Common directory for all libraries

Hello, is there a way to group all the libraries together (as Arduino does), in a single common directory?
It would be a good space saver.
Thank you.

You can put all libraries a project needs in the project’s lib/ folder already.

If you wish to share one folder with libraries in it between projects, use the lib_extra_dirs platformio.ini directive.

Or, directly put the libraries in <user home directory>/.platformio/lib. See the warnings in the documentation.

THANK YOU Maximilian