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

注: GitHub Packages 目前正在测试用于 GitHub AE 。

About package installation

You can search on GitHub AE 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."

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或者, 了解如何参与。