Skip to main content

Setting up GitHub Copilot for yourself

Follow these steps to start using Copilot.

谁可以使用此功能?

Individuals

1. Get access to GitHub Copilot

There are a few ways that you can get access to GitHub Copilot:

2. Install the Copilot extension for your IDE

If you want to use Copilot in your IDE, install the Copilot extension for your IDE. See Installing the GitHub Copilot extension in your environment.

3. Install the Copilot extension for the command line

If you want to use Copilot in the command line, install the Copilot extension for the GitHub CLI. See Installing GitHub Copilot in the CLI.

4. Use Copilot in Windows Terminal

If you want to chat with Copilot in Windows Terminal, connect Copilot with Terminal Chat in Windows Terminal Canary. See GitHub Copilot 快速入门.

5. Set up networking (if necessary)

If you connect through an HTTP proxy server or firewall, ensure that key URLs are added to the allowlist for the proxy server or firewall. See Allowlist reference.

You may also need to install a custom SSL certificate on your machine. See 为 GitHub Copilot 配置网络设置.

6. Configure settings (optional)

All users can configure Copilot settings in their IDE or in the CLI. See 在环境中配置 GitHub Copilot and Customizing GitHub Copilot in the CLI.

If you have your own Copilot plan (instead of using your organization or enterprise's plan), you can:

7. Start using Copilot

Start using Copilot to help you write code faster and more efficiently. For all the ways you can use Copilot, see GitHub Copilot 的操作方法. Copilot code suggestions, GitHub 中的 Copilot Chat, and Copilot Chat in your IDE are a great place to start.

To learn how to best use Copilot, see 有关使用 GitHub Copilot 的最佳做法 and Copilot Chat 的提示设计.