Skip to content

apm search

Find plugins in a registered marketplace by name or keyword.

Terminal window
apm search QUERY@MARKETPLACE [OPTIONS]

apm search is a top-level alias for apm marketplace search. Both commands invoke the same implementation and accept identical arguments and options.

apm search queries a single marketplace registered in the local marketplace registry and returns plugins whose name or description matches QUERY. The QUERY@MARKETPLACE expression is required: the marketplace name disambiguates which registered source to search, and prevents accidental wide scans across every marketplace.

The marketplace must be registered first with apm marketplace add. To list registered marketplaces, run apm marketplace list. To browse every plugin in a marketplace without filtering, use apm marketplace browse <name>.

Results print as a table with plugin name, description, and the install expression. Pipe the install expression directly into apm install to add a hit to your manifest.

ArgumentRequiredDescription
QUERY@MARKETPLACEyesSearch term and registered marketplace name, joined with @

The expression is split on the last @, so queries containing @ are preserved on the left side.

OptionDefaultDescription
--limit N20Maximum number of results to display
-v, --verboseShow detailed output and tracebacks

Search the skills marketplace for security-related plugins:

Terminal window
apm search security@skills

Limit results to the top five matches:

Terminal window
apm search auth@skills --limit 5

Install a result returned by search:

Terminal window
apm install code-review@skills
CodeMeaning
0Search completed (including zero matches)
1Invalid expression, marketplace not registered, or unexpected error
  • apm marketplace — full marketplace command group (add, list, browse, refresh, remove, search)
  • apm install — install a plugin returned by search
  • Use marketplaces — consumer guide for registering and consuming marketplaces