ARDUINO-CLI-PROFILE-LIB-ADD(1)
π arduino-cli-profile-lib-add(1) π
okay bestie, welcome to the Arduino Command Line Manual β yes that's the whole manual name, it's giving very official π. We're doing arduino-cli profile lib add today and it's genuinely so good.
β¨ NAME β¨
arduino-cli-profile-lib-add β adds a library to a sketch profile. that's it. that's the job. π
π¦ SYNOPSIS π¦
arduino-cli profile lib add LIBRARY[@VERSION_NUMBER]... [flags]
see how LIBRARY[@VERSION_NUMBER]... has the little ... at the end? that means you can stack multiple ones. iconic behavior honestly.
πΈ DESCRIPTION πΈ
Adds a library to a sketch profile. π«Ά
that's the whole thing! you point it at a library (or a whole bunch of libraries, no cap) and it goes into the profile. main character energy for your dependencies.
π OPTIONS π
-h,--help[=false]β help foradd. your emergency bestie when you forget what you're doing. π--no-deps[=false]β do not add dependencies. just the one library, nothing that comes along with it. π«--no-overwrite[=false]β do not overwrite already added libraries. if it's already in there, leave it alone. π-m,--profile=""β sketch profile to use. (default is empty string, so likeβ¦ tell it which one, bestie) π--sketch-path=""β location of the sketch. where the sketch actually lives on your filesystem. π
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
these ones come from the parent command, so they're not technically this command's, but they work here too and you deserve to know about all of them:
--additional-urls=[]β comma-separated list of additional URLs for the Boards Manager. π--config-dir=""β sets the default data directory. heads up: Arduino CLI will look for the configuration file in this directory. β--config-file=""β the custom config file. if you don't specify one, the default will be used. π--json[=false]β print the output in JSON format. for the parser girlies. π€--log[=false]β print the logs on the standard output. π--log-file=""β path to the file where logs will be written. π--log-format="text"β the output format for the logs. can be:text,json. β¨--log-level="info"β messages with this level and above will be logged. valid levels are:trace,debug,info,warn,error,fatal,panic. π₯--no-color[=false]β disable colored output. (sad, but sometimes you gotta π)
π« EXAMPLE π«
copy these exactly, they're verbatim:
debian/build/bin/arduino-cli profile lib add AudioZero -m my_profile
debian/build/bin/arduino-cli profile lib add Arduino_JSON@0.2.0 --profile my_profile
see the second one? Arduino_JSON@0.2.0 β that @ is how you pin a VERSION_NUMBER. ate. π
π₯ SEE ALSO π₯
arduino-cli-profile-lib(1)β the parent command, go say hi π«Ά
π HISTORY π
15-Aug-2026 β auto generated by spf13/cobra. not a human, just a generator being its little generator self. π¦
ngl bestie, this whole page was auto generated byspf13/cobraand it's datedAug 2026, and the manual it belongs to is ARDUINO COMMAND LINE MANUAL(1). that's the whole vibe check, periodt. πβ¨π
π¦ where this page comes from
- ubuntu stonking: arduino-cli 1.5.1-4 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms