Skip to main content

此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-03-17. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

安装自己的GitHub应用

可以在拥有应用的帐户上安装你创建的 GitHub App。 如果你的应用是公开的,则 GitHub App 也可以安装在其他帐户上。

About installing your own GitHub App

After creating a GitHub App, you can install it based on its visibility.

  • Only on this account: The GitHub App can only be installed on the account that created it.
  • Any account: You can install this GitHub App on any account you control.

Installing your own GitHub App

  1. In the upper-right corner of any page on GitHub, click your profile picture.

  2. Navigate to your account settings.

    • For an app owned by a personal account, click Settings.
    • For an app owned by an organization:
      1. Click Your organizations.
      2. To the right of the organization, click Settings.
  3. In the left sidebar, click Developer settings.

  4. In the left sidebar, click GitHub Apps.

  5. Next to the GitHub App that you want to install, click Edit.

  6. Click Install App.

  7. Click Install next to the location where you want to install the GitHub App.

  8. If the app requires repository permissions, select All repositories or Only select repositories. The app will always have at least read-only access to all public repositories on GitHub.

    If the app does not require repository permissions, these options will be omitted.

  9. If you selected Only select repositories in the previous step, under the Select repositories dropdown, select the repositories that you want the app to access.

    If the app creates any repositories, the app will automatically be granted access to those repositories as well.

  10. Click Install.