I've done a lot of searching (in Google and in the file system of the Raspberry Pi Zero W where I installed arduino-cli) and I cannot find where the library directory is. I need to place some libraries there for a sketch I made, and I cannot figure out where they need to go. Thanks for anyone who can help!
Its the libraries subfolder of the "user directory" (directories.user), which is Arduino CLI's equivalent of the Arduino IDE's "sketchbook folder". You can find the the current setting of the directories.user configuration by running the command:
arduino-cli config dump
If you want to set a custom user directory, the Arduino CLI configuration system's documentation is here:
Let me know if you have any questions.
Thanks! I guess what's confusing is that the user I am using is root in a Raspian environment, and arduino-cli config dump is telling me the directory is /root/Arduino, which has nothing in it. It must only be created once sketches have been created via the cli (and I was just working with a sketch I had created outside arduino-cli and copied in as a file).
You're welcome. I'm glad if I was able to be of assistance. Enjoy!