Usage
Description
Search for components across configured registries or list installed components. Theocx list alias provides a convenient shorthand.
Arguments
| Argument | Required | Description |
|---|---|---|
query | No | Search query string |
Flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--installed | false | List installed components only | |
--profile <name> | -p | Use specific profile | |
--limit <n> | 20 | Limit number of results | |
--cwd <path> | Current directory | Working directory | |
--quiet | -q | false | Suppress output |
--verbose | -v | false | Verbose output |
--json | false | Output as JSON |
Examples
Search for Components
List All Available Components
List Installed Components Only
Limit Results
Output
Errors
| Error | Cause | Solution |
|---|---|---|
No ocx.jsonc found | Not initialized | Run ocx init first |
No components installed | Receipt data empty or missing | Run ocx add first |
See Also
- ocx add — Install components you find.
- ocx registry — Manage registries to search.
- CLI Reference — All commands.