Skip to main content

Installing a package

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

Who can use this feature?

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, and GitHub Enterprise Server 3.0 or higher.


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 registries that support granular permissions, because these accounts are billed by repository. Enterprise Managed Users do not have individual storage allocation to publish packages within their account's namespace, but can publish to an organization's namespace. For additional information on Enterprise Managed Users, see About Enterprise Managed Users. For the list of registries that support granular permissions, see About permissions for GitHub Packages. For more information, see GitHub’s plans.

About package installation

You can search on GitHub to find packages in GitHub Packages that you can install in your own project. For more information, see 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 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 Introduction 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.