chainsaw pkg

Intelligence Updated

Package discovery and inspection commands

Package discovery and inspection commands

SubcommandWhat it does
chainsaw pkg infoShow detailed info for a package: installs, vulnerabilities, licence
chainsaw pkg listList packages in a proxied registry
chainsaw pkg searchSearch 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

FlagTypeDefaultDescription
--jsonbool—Output as JSON

The global flags apply here too.

chainsaw pkg list

List packages in a proxied registry

chainsaw pkg list [flags]

Flags

FlagTypeDefaultDescription
--ecosystemstring—Filter by ecosystem (npm, pypi, maven, …); routes to cross-repo inventory
--jsonbool—Output as JSON
--limitint50Maximum number of rows to return
--repostring—Repository name (required when –ecosystem is not set)

The global flags apply here too.

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

FlagTypeDefaultDescription
--jsonbool—Output as JSON

The global flags apply here too.