Installing a package

You can install a package from GitHub Packages and use the package as a dependency in your own project.

You can install any package that you have permission to view.

GitHub Packages is available with GitHub Free, GitHub Pro, GitHub Free for organizations, GitHub Team, GitHub Enterprise Cloud, GitHub Enterprise Server, and GitHub AE.


GitHub Packages is not available for private repositories owned by accounts using legacy per-repository plans. Also, accounts using legacy per-repository plans cannot access the Container registry since these accounts are billed by repository. For more information, see "GitHub's products."

In this article

About package installation

You can search GitHub to find packages in GitHub Packages that you can install in your own project. For more information, see "Searching GitHub Packages 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 GitHub Packages using any supported package client by following the same general guidelines.

  1. Authenticate to GitHub Packages using the instructions for your package client. For more information, see "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 GitHub Packages registry."

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.