---
title: "GitHub Copilot Student 免费开通指南"
slug: "github-copilot-student-guide"
locale: "zh-CN"
published: "2026-12-01T11:10:41+00:00"
modified: "2026-12-01T11:10:41+00:00"
canonical: "https://aiymao.com/zh/guides/github-copilot-student-guide/"
license: "CC BY 4.0"
---

# GitHub Copilot Student 免费开通指南

用通过 GitHub Education 认证的账号免费开通 Copilot Student，并在编辑器里用一条单元测试检查代码补全是否可用。

## 开通 Copilot Student

1. 登录你用于课程项目的 GitHub 账号。如果还没通过学生认证，从学生开发者包页面提交申请。[GitHub 学生开发者包](https://education.github.com/pack)
2. 认证通过后，按官方文档的 **Access Copilot Student** 一节操作。在编辑器里配置前，先确认账号显示 **Copilot Student**。[GitHub Copilot Student 开通文档](https://docs.github.com/en/copilot/how-tos/copilot-on-github/set-up-copilot/enable-copilot/set-up-for-students)

## 在编辑器里试用代码补全

1. 在编辑器的 Copilot 集成中登录同一个 GitHub 账号。在练习项目里开始写一条单元测试，检查表单如何处理姓名留空的情况。
2. 查看行内建议是否包含验证表单拒绝空值的断言。核对断言后运行测试，确认表单按预期拒绝空值时测试能通过。

## 资格复核后查看套餐

GitHub 每月复核学生资格。如果学生权益消失，查看 GitHub Education 认证状态和账号当前套餐。目录证据日期为 2026-11-18。[GitHub Copilot Student 开通文档](https://docs.github.com/en/copilot/how-tos/copilot-on-github/set-up-copilot/enable-copilot/set-up-for-students)

[产品详情](/zh/products/github-copilot-student/) · [全部指南](/zh/guides/)

## 参考来源

- [GitHub 学生开发者包](https://education.github.com/pack)
- [GitHub Copilot Student 开通文档](https://docs.github.com/en/copilot/how-tos/copilot-on-github/set-up-copilot/enable-copilot/set-up-for-students)
