1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Files
docs/content/packages/learn-github-packages/installing-a-package.md
2021-08-19 18:18:00 +00:00

33 lines
1.9 KiB
Markdown

---
title: Installing a package
intro: 'You can install a package from {% data variables.product.prodname_registry %} and use the package as a dependency in your own project.'
product: '{% data reusables.gated-features.packages %}'
redirect_from:
- /github/managing-packages-with-github-packages/installing-a-package
- /packages/publishing-and-managing-packages/installing-a-package
- /packages/manage-packages/installing-a-package
permissions: You can install any package that you have permission to view.
versions:
fpt: '*'
ghes: '*'
ghae: '*'
---
{% data reusables.package_registry.packages-ghes-release-stage %}
{% data reusables.package_registry.packages-ghae-release-stage %}
## About package installation
You can search {% data variables.product.product_name %} to find packages in {% data variables.product.prodname_registry %} that you can install in your own project. For more information, see "[Searching {% data variables.product.prodname_registry %} for packages](/github/searching-for-information-on-github/searching-for-packages)."
After you find a package, you can read the package's description and installation and usage instructions on the package page.
## Installing a package
You can install a package from {% data variables.product.prodname_registry %} using any {% ifversion fpt or ghae %}supported package client{% else %}package type enabled for your instance{% endif %} by following the same general guidelines.
1. Authenticate to {% data variables.product.prodname_registry %} using the instructions for your package client. For more information, see "[Authenticating to GitHub Packages](/packages/learn-github-packages/introduction-to-github-packages#authenticating-to-github-packages)."
2. Install the package using the instructions for your package client.
For instructions specific to your package client, see "[Working with a {% data variables.product.prodname_registry %} registry](/packages/working-with-a-github-packages-registry)."