chainsaw pkg
Package discovery and inspection commands
Package discovery and inspection commands
| Subcommand | What it does |
|---|---|
chainsaw pkg info | Show detailed info for a package: installs, vulnerabilities, licence |
chainsaw pkg list | List packages in a proxied registry |
chainsaw pkg search | Search your org’s package inventory by name |
chainsaw pkg [command]
chainsaw pkg info
Show detailed info for a package: installs, vulnerabilities, licence
chainsaw pkg info <name@version> [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | — | Output as JSON |
The global flags apply here too.
chainsaw pkg list
List packages in a proxied registry
chainsaw pkg list [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--ecosystem | string | — | Filter by ecosystem (npm, pypi, maven, …); routes to cross-repo inventory |
--json | bool | — | Output as JSON |
--limit | int | 50 | Maximum number of rows to return |
--repo | string | — | Repository name (required when –ecosystem is not set) |
The global flags apply here too.
chainsaw pkg search
Search your org’s package inventory by name
chainsaw pkg search <query> [flags]
Search the packages your org has already pulled through chainsaw.
This queries YOUR inventory (/api/packages) across every repository the org has configured. It does NOT search upstream registries — a package nobody here has installed will not appear, however popular it is on npm or PyPI.
To look up a package that is not in your inventory yet, use
chainsaw intel package <ecosystem> <name> <version>.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | — | Output as JSON |
The global flags apply here too.