{"meta":{"title":"开始使用GitHub Copilot计划","intro":"可以免费使用 Copilot ，或选择付费计划来解锁其他功能、模型和限制。","product":"GitHub Copilot","breadcrumbs":[{"href":"/zh/enterprise-cloud@latest/copilot","title":"GitHub Copilot"},{"href":"/zh/enterprise-cloud@latest/copilot/how-tos","title":"操作方法"},{"href":"/zh/enterprise-cloud@latest/copilot/how-tos/manage-your-account","title":"管理帐户"},{"href":"/zh/enterprise-cloud@latest/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan","title":"开始使用Copilot计划"}],"documentType":"article"},"body":"# 开始使用GitHub Copilot计划\n\n可以免费使用 Copilot ，或选择付费计划来解锁其他功能、模型和限制。\n\n本文介绍：\n\n* [访问 Copilot Free](#accessing-copilot-free)\n* [从 Copilot Free](#upgrading-from-copilot-free) 升级\n* [订阅Copilot Pro、Copilot Pro+或Copilot Max](#subscribing-to-copilot-pro-copilot-pro-or-copilot-max)\n* [Troubleshooting](#troubleshooting)\n\n## 访问 Copilot Free\n\n大多数单独的开发人员可以开始使用 Copilot Free ，无需设置。 但是，在某些情况下 Copilot Free 不可用：\n\n* 你有一个 托管用户帐户。\n* 通过组织为你分配了一个 Copilot 席位。\n* 你拥有一个现有的 Copilot Pro、Copilot Pro+ 或 Copilot Max 计划。\n* 您可以通过 Copilot 访问 Copilot Student。\n* 作为教师或开源维护者，你可以免费访问Copilot Pro。\n\n有多种方法可以开始使用 Copilot Free，具体取决于你的工作位置。\n\n### Visual Studio 和 VS Code\n\n在Visual Studio和VS Code中，可以直接从编辑器访问Copilot Free。\n\n1. 在右上角 Visual Studio 或 VS Code单击 **<svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-copilot\" aria-label=\"copilot\" role=\"img\"><path d=\"M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z\"></path><path d=\"M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z\"></path></svg>**。\n2. 在边栏中，单击“**注册 Copilot Free**”。\n3. 如果你有帐户 GitHub ，系统会提示你登录。 如果没有 GitHub 帐户，系统会提示你创建一个帐户。\n\n### GitHub.com\n\n通过Copilot Free，你可以在Copilot的聊天界面提问GitHub问题。 请前往 [https://github.com/copilot](https://github.com/copilot?ref_product=copilot\\&ref_type=engagement\\&ref_style=text\\&ref_plan=free)，开始与 Copilot 聊天。\n\n### GitHub Mobile\n\n你还可以在 Copilot 中与 GitHub Mobile\n聊天。\n\n1. 在 GitHub Mobile 中，点击屏幕右下角的 <svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-copilot\" aria-label=\"copilot\" role=\"img\"><path d=\"M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z\"></path><path d=\"M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z\"></path></svg> GitHub Copilot 图标\\*\\*\\*\\*。\n\n   > \\[!NOTE]\n   > 并非 GitHub Mobile 中的每个页面上都会显示 <svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-copilot\" aria-label=\"copilot\" role=\"img\"><path d=\"M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z\"></path><path d=\"M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z\"></path></svg> GitHub Copilot 图标\\*\\*\\*\\*。 如果看不到此图标，请导航到 GitHub Mobile 中的其他页面，并在那里寻找此图标。\n2. 在页面底部，使用“询问 Copilot”框开始与 Copilot 聊天。\n\n### 其他集成开发环境 (IDE)\n\nCopilot Free若要在其他 IDE 中使用，首先需要从GitHub帐户设置激活它。\n\n1. 在 GitHub 任意页面的右上角，单击你的个人资料图片，然后单击 <svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-copilot\" aria-label=\"copilot\" role=\"img\"><path d=\"M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z\"></path><path d=\"M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z\"></path></svg>“Copilot settings”\\*\\*\\*\\*。\n2. 单击“ **开始使用 Copilot Free** ”以激活 Copilot Free 并打开 [https://github.com/copilot](https://github.com/copilot?ref_product=copilot\\&ref_type=engagement\\&ref_style=text\\&ref_plan=free)。\n3. 在右上角的 **“下载**”旁边，选择 <svg version=\"1.1\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" class=\"octicon octicon-triangle-down\" aria-label=\"More edit options\" role=\"img\"><path d=\"m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z\"></path></svg> 下拉菜单并单击首选编辑器。\n\n## 从 Copilot Free 升级\n\n如果已使用 Copilot Free 并达到使用限制，系统会提示你直接升级。 升级体验因使用 Copilot位置而异：\n\n* **在 Visual Studio，VS Code 或 GitHub.com**：你将收到一条消息，其中包含重置日期和升级到 Copilot Pro 或 Copilot Pro+的链接。\n\n* 在其他 IDE 中：你将看到一条错误消息\\*\\*\\*\\*。 可以从设置中启动付费计划[GitHub Copilot](https://github.com/settings/copilot)。\n\n* **在 GitHub Mobile**：达到使用限制时，系统会提示你通过应用内购买进行升级。\n\n## 订阅Copilot Pro、Copilot Pro+或Copilot Max\n\n你可以随时订阅 Copilot Pro、Copilot Pro+ 或 Copilot Max，以解锁高级 AI 功能、更高的使用上限，并可使用更多模型。\n\n> \\[!TIP] 不确定选择哪个计划？ 有关并排比较，请参阅“[GitHub Copilot计划](/zh/enterprise-cloud@latest/copilot/concepts/billing/individual-plans)”。\n\n1. 转到 [计划页面](https://github.com/features/copilot/plans?ref_product=copilot\\&ref_type=purchase\\&ref_style=text\\&ref_plan=pro)。\n\n2. 单击要订阅的计划下的 **Get started**。\n\n3. 单击“**订阅”。Copilot Pro/Copilot Pro+/Copilot Max**\n\n   如果个人帐户满足免费 GitHub Copilot 计划的条件，而不是付费计划，则会自动执行步骤 6。\n\n4. 若要启用超出已包含配额的额外用量，请选择“**是，我想为Copilot启用额外用量**”。 可以随时更改此设置。 单击“Save & continue”\\*\\*\\*\\*。\n\n5. 按照步骤输入并确认账单信息和付款详细信息，然后单击“Submit”\\*\\*\\*\\*。\n\n   在结帐期间， GitHub 可能会对付款方式进行临时授权，以验证付款方式。 此保留不是订阅费用。\n\n   如果付款方式验证未成功，或者下一个屏幕上未完成激活步骤，则你的计划将不会激活。\n\n6. 查看计划详细信息后，单击“**激活Copilot Pro/Copilot Pro+/Copilot Max**”。\n\n## 故障排除\n\n### 签出后仍显示 Copilot Free 帐户\n\n如果在 [订阅时](#subscribing-to-copilot-pro-copilot-pro-or-copilot-max)按照签出步骤操作后未显示该计划，请按照以下进一步步骤确认并恢复订阅。\n\n1. 确认计划显示在你的 GitHub Copilot 设置或计费 **和许可**下的个人帐户设置中。 有关详细信息，请参阅“[查看和更改GitHub Copilot 计划](/zh/enterprise-cloud@latest/copilot/how-tos/manage-your-account/view-and-change-your-copilot-plan)”。\n2. 如果付款方式验证失败或未完成激活步骤，请重试签出流。\n3. 如果已完成激活，并且计划仍未显示，请联系 [GitHub 支持](https://support.github.com)。\n\n### 个人帐户上的阻止计划设置\n\n如果看到以下条件， Copilot 个人帐户可能具有访问限制：\n\n* “你似乎没有资格注册 GitHub Copilot Free”\n* “你的帐户无法注册 Copilot。 请联系支持人员”\n* 未完成的升级\n* 告知你联系支持人员或提及 403 令牌错误的编辑器错误\n\n首先检查相关指南：[访问Copilot Free](#accessing-copilot-free)资格问题，或[帐户在结帐后仍显示Copilot Free](#account-still-shows-copilot-free-after-checkout)付费升级。 如果这些情况不适用，这些消息可以指示帐户限制，而不是正常资格、结帐或使用限制问题。\n\n如果帐户具有 Copilot 访问限制，请联系 [GitHub 支持](https://support.github.com) 并请求帐户评审。 你无法自行删除限制。"}