PlatformIO Community

Can I install a Library from GIT into the VS Code IDE of PlatformIO? if so How?

I don’t know if there is a way to install a library from Git but the library that is provided do not have the 3axis accelerometer library that I need. Can someone point me into the right direction, please?

If there is a library you need in a git repo, and it’s not in the PlatformIO library registry, you can pull it into your project via your platformio.ini lib_deps option by simply referencing the URL for the library…

i.e. for

… I simply hit the copy to clipboard icon …


… and put it in the my projects platformio.ini


… and PlatformIO automatically installed it. You can also give it the URL of the repo (without the .git on the end) or the URL to the zip file - PlatformIO will work it out.