ARDUINO-CLI-LIB-SEARCH(1)
β¨ NAME β¨
okay so this is arduino-cli-lib-search, straight out of the ARDUINO COMMAND LINE MANUAL β and bestie, it does exactly what the name says: it searches for one or more libraries matching a query. π
π SYNOPSIS π
arduino-cli lib search [SEARCH_TERM ...] [flags]
π¦ DESCRIPTION π¦
So like, the whole vibe is: search for libraries matching zero or more search terms. That's it. That's the function. π
Every single search happens case-insensitively (no cap, capitalization literally does not matter here). And if your query has multiple search terms? It only returns libraries that match all of the terms. It's giving "AND", not "OR". π«Ά
Search terms that don't match the QV syntax (explained below, hold on) are just basic search terms, and they'll match libraries that include the term anywhere in any of these fields:
- Author
- Name
- Paragraph
- Provides
- Sentence
Then there's a special syntax called qualifier-value (QV), which says "hey, only compare this search term against one field of each library index entry." The syntax is: the name of an index field (case-insensitive), an equals sign (=) or a colon (:), and a value. For example: 'name=ArduinoJson' or 'provides:tinyusb.h'. πΈ
Here's the tea on the two separators, because they are NOT the same:
- QV search terms with a colon separator match all libraries with the value anywhere in the named field.
- QV search terms with an equals separator match only libraries with exactly the provided value in the named field.
QV search terms can have embedded spaces, using double-quote (") characters around the value or around the entire term. So 'category="Data Processing"' and '"category=Data Processing"' are equivalent β same energy, different fit. β¨ And a QV term can include a literal double-quote character if you precede it with a backslash (\) character.
NOTE: QV search terms using double-quote or backslash characters that are passed as command-line arguments may require quoting or escaping to prevent the shell from interpreting those characters. your shell WILL get in the way if you let it. protect your quotes. π
In addition to the fields listed above (the ones up top), QV terms can also use these qualifiers:
- Architectures
- Category
- Dependencies
- License
- Maintainer
- Types
- Version
- Website
π OPTIONS π
-h,--help[=false]β help for search π--names[=false]β Show library names only.--omit-releases-details[=false]β Omit library details far all versions except the latest (produce a more compact JSON output).
π OPTIONS INHERITED FROM PARENT COMMANDS π
--additional-urls=[]β Comma-separated list of additional URLs for the Boards Manager.--config-dir=""β Sets the default data directory (Arduino CLI will look for configuration file in this directory).--config-file=""β The custom config file (if not specified the default will be used).--json[=false]β Print the output in JSON format.--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.
π EXAMPLE π
debian/build/bin/arduino-cli lib search audio # basic search for "audio"
debian/build/bin/arduino-cli lib search name:buzzer # libraries with "buzzer" in the Name field
debian/build/bin/arduino-cli lib search name=pcf8523 # libraries with a Name exactly matching "pcf8523"
debian/build/bin/arduino-cli lib search "author:\"Daniel Garcia\"" # libraries authored by Daniel Garcia
debian/build/bin/arduino-cli lib search author=Adafruit name:gfx # libraries authored only by Adafruit with "gfx" in their Name
debian/build/bin/arduino-cli lib search esp32 display maintainer=espressif # basic search for "esp32" and "display" limited to official Maintainer
debian/build/bin/arduino-cli lib search dependencies:IRremote # libraries that depend on at least "IRremote"
debian/build/bin/arduino-cli lib search dependencies=IRremote # libraries that depend only on "IRremote"
π§ SEE ALSO π§
π HISTORY π
15-Aug-2026Auto generated byspf13/cobra
and that's the whole thing bestie, we ate and left no crumbs π
πΌ seriously though β this page was auto generated by spf13/cobra, dated Aug 2026, from the ARDUINO COMMAND LINE MANUAL. go search some libraries, you absolute icon πβ¨
π¦ 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