Instalar um pacote
You can install a package from GitHub Package Registry and use the package as a dependency in your own project.
GitHub Package Registry is available with GitHub Free, GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub One. GitHub Package Registry is not available for private repositories owned by accounts using legacy per-repository plans. For more information, see "GitHub's products."
Anyone with read permissions for a repository can install a package from that repository.
You can search GitHub to find packages in GitHub Package Registry that you can install in your own project. For more information, see "Searching GitHub Package Registry for packages."
After you find a package, you can read the package's description and installation and usage instructions on the package page.
You can install a package from GitHub Package Registry using any supported package client by following the same general guidelines.
- Authenticate to GitHub Package Registry using the instructions for your package client. For more information, see "About tokens."
- Install the package using the instructions for your package client.
For instructions specific to your package client, see "Using GitHub Package Registry with your project's ecosystem."