* backticks for javascript * Update sorting-search-results.md backticks asc * Update installing-github-enterprise-server-on-azure.md fixed vm az * Update searching-for-repositories.md backticks * Update searching-code.md backticks * Update searching-issues-and-pull-requests.md backticks * Update searching-issues-and-pull-requests.md * Update understanding-the-search-syntax.md * Update searching-for-packages.md * Update upgrading-from-dependabotcom-to-github-native-dependabot.md * fix errors in source * removed spaces * vale docs * link to md link * spacing for backticks * docs draft * remove space * removed spacing * drafting * drafting * draft * escape single quote * escape another single quote * fix broken link * vale guide * edge case * edge case ex * edge case ex link * grammer * grammer * Update vale-guide.md clarity * Update vale-guide.md small edit * clarity * sentence fix * Rubocop to RuboCop * Rubocop -> RuboCop * terms in backticks * pem in backtick * idp -> IdP * file names in backticks * public/private rsa in backticks * fix vale errors * fix vale errors * Update sending-enterprise-contributions-to-your-githubcom-profile.md fix dot-com links * Update metadata-syntax-for-github-actions.md * Update configuring-codeql-cli-in-your-ci-system.md * Update content/get-started/getting-started-with-git/associating-text-editors-with-git.md Co-authored-by: Vanessa <vgrl@github.com> * Update managing-deploy-keys.md public and private rsa key pair * Update libraries.md removed backticks for consistency * Update sorting-search-results.md removed backticks for consistency * Update metadata-syntax-for-github-actions.md removed backticks for consistency * Update metadata-syntax-for-github-actions.md removed backticks * delete vale config files Co-authored-by: Vanessa <vgrl@github.com> Co-authored-by: Amy Burns <timeyoutakeit@github.com>
46 lines
2.3 KiB
Markdown
46 lines
2.3 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: '*'
|
|
ghae: '*'
|
|
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 "[About searching on {% data variables.product.prodname_dotcom %}](/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"
|