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 可用于 GitHub Free、GitHub Pro、组织的 GitHub Free、GitHub Team、GitHub Enterprise Cloud、GitHub Enterprise Server 和 GitHub AE。

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."

此文档对您有帮助吗?

隐私政策

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

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

做出贡献

或者, 了解如何参与。