1
0
mirror of synced 2026-01-06 15:01:04 -05:00
Files
docs/content/search-github/searching-on-github/searching-for-packages.md
2024-02-09 12:06:24 +00:00

45 lines
2.2 KiB
Markdown

---
title: Searching for packages
intro: 'You can search for packages on {% data variables.product.product_name %} and narrow the results using search qualifiers.'
product: '{% data reusables.gated-features.packages %}'
permissions: Anyone can search for packages they have access to.
versions:
fpt: '*'
ghes: '*'
ghec: '*'
topics:
- GitHub search
redirect_from:
- /github/searching-for-information-on-github/searching-for-packages
- /github/searching-for-information-on-github/searching-on-github/searching-for-packages
---
{% data reusables.package_registry.packages-ghes-release-stage %}
## About searching for packages
You can search for packages globally across all of {% data variables.product.product_name %}, or search for packages within a particular organization. For more information, see "[AUTOTITLE](/search-github/getting-started-with-searching-on-github/about-searching-on-github)."
{% ifversion ghes %}
You can only search for packages on {% data variables.product.product_name %}, not {% data variables.product.prodname_dotcom_the_website %}, even if {% data variables.product.prodname_github_connect %} is enabled.
{% endif %}
{% data reusables.search.syntax_tips %}
## Searching within a user's or organization's packages
To find packages owned by a certain user or organization, use the `user` or `org` qualifier.
| Qualifier | Example
| ------------- | -------------
| <code>user:<em>USERNAME</em></code> | [**`user:codertocat`**](https://github.com/search?q=user%3Acodertocat&type=RegistryPackages) matches packages owned by @codertocat
| <code>org:<em>ORGNAME</em></code> | [**`org:github`**](https://github.com/search?q=org%3Agithub&type=RegistryPackages) matches packages owned by the {% data variables.product.prodname_dotcom %} organization
## Filtering by package visibility
To filter your search by whether a package is public or private, use the `is` qualifier.
| Qualifier | Example |
| ------------- | -------------
| `is:public`| [**is:public angular**](https://github.com/search?q=is%3Apublic+angular&type=RegistryPackages) matches public packages that contain the word "angular"
| `is:private`| [**is:private php**](https://github.com/search?q=is%3Aprivate+php&type=RegistryPackages) matches private packages that contain the word "php"