List the packages of a repository, or the versions of one package
List the packages of a repository, 100 per request. With coordinates, list the next level down: the versions of a package, the artifacts of a Maven group, the tags of a Docker image (image) or the manifests of a tag (image:tag).
–search keeps the names that contain the text (case-insensitive); a few lists have no such filter and say so. –limit stops after that many rows; 0 (the default) reads them all. Lists the server does not page, such as npm and Helm tags, are in “rp package tags”.
Packages are named in the natural coordinates of the repository’s format:
maven group[:artifact[:version]] com.acme:app:1.2.0
npm [@scope/]name[@version] @acme/[email protected] (@acme alone: a scope)
docker image[:tag] | image@digest team/app:1.0 (image may contain "/")
go module/path[@version] example.com/[email protected]
cargo, helm, nuget, pypi, ruby name[@version]
The format is read from the repository; pass –format to skip that request.
–output json prints the API fields of each row.
rp package list [coordinates] [flags]
Options
--format string Repository format (default: read from the repository)
--limit int Stop after this many rows (0 means all)
--repo string Repository name (required)
--search string Only rows whose name contains this text
Options inherited from parent commands
--api-url string Panel API URL of the profile, overrides the stored value
--ca-file string PEM file with extra trusted CA certificates
--debug Print debug output with secrets redacted
--hostname string Repsy host to use instead of the current profile
--insecure Do not verify TLS certificates (unsafe; plain http is chosen with the URL, not with this flag)
--insecure-storage Keep credentials in a plain 0600 file instead of the OS keyring (unsafe; a warning is printed once per command)
--jq string Filter JSON output with a jq expression (implies --output json)
--no-color Disable colored output
--no-input Never prompt; fail when input is needed
--output table|json|yaml Output format: table, json or yaml (default table; json when --jq is given)
--owner string Owner segment of Cloud protocol URLs; --owner= means none
--registry-url string Protocol host URL of the profile, overrides the stored value
--type os|cloud Product of the host, overrides detection
--web-url string Panel UI URL of the profile (where /cli/auth lives), overrides the stored value
--yes Answer yes to confirmation prompts
See also
- rp package - List, show and delete the packages of a repository
Found a problem with this page?
Report a problem