aur-search
aur-search
is a command-line tool for searching AUR packages.
Synopsis
aur search [options] <keyword...>
Description
This command queries the AUR RPC interface to find packages matching the given keywords. By default, it searches by package name and description and displays an intersection of the results for all keywords.
Options
-a
,--any
: Show the union of results instead of the intersection.-i
,--info
: Use theinfo
RPC interface, which is slower but provides more detailed information. This is useful for exact package name matches.-s
,--search
: Use thesearchby
RPC interface (default).-q
,--short
: Display results in a short format (name, version, description).-v
,--verbose
: Display more detailed package information.--json
: Display the raw JSON response.-k KEY
,--key=KEY
: Sort the results by a specific key (e.g.,Name
,Version
,Popularity
,LastModified
).
Search Types
These options control which fields are searched.
-d
,--desc
: Search by package name and description (default).-m
,--maintainer
: Search by maintainer.-n
,--name
: Search by package name only.--depends
: Search for packages that have a dependency matching the keyword.--makedepends
: Searchmakedepends
.--optdepends
: Searchoptdepends
.--checkdepends
: Searchcheckdepends
.