Skip to main content

This version of GitHub Enterprise will be discontinued on 2022-10-12. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

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, GitHub Enterprise Server 3.0 or higher, and GitHub AE. For more information about upgrading your GitHub Enterprise Server instance, see "About upgrades to new releases" and refer to the Upgrade assistant to find the upgrade path from your current release version.

About package installation

You can search on your GitHub Enterprise Server instance 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 package type enabled for your instance 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."