Trying to understand how to install custom local library

There a few options:

Add library to a project

Just unpack and copy the library to lib folder in your project. See example platformio-examples/unit-testing/calculator/lib at develop · platformio/platformio-examples · GitHub

Project dependency

See Redirecting...

[env:myenv]
lib_deps = /path/to/custom/library
3 Likes