{"meta":{"title":"Using GitHub Copilot in GitHub Codespaces","intro":"You can use GitHub Copilot in GitHub Codespaces by adding a VS Code extension.","product":"Codespaces","breadcrumbs":[{"href":"/en/codespaces","title":"Codespaces"},{"href":"/en/codespaces/reference","title":"Reference"},{"href":"/en/codespaces/reference/using-github-copilot-in-github-codespaces","title":"Copilot in Codespaces"}],"documentType":"article"},"body":"# Using GitHub Copilot in GitHub Codespaces\n\nYou can use GitHub Copilot in GitHub Codespaces by adding a VS Code extension.\n\n[GitHub Copilot](https://copilot.github.com/) is an AI pair programmer that you can use in any codespace that you open in the VS Code web client or desktop application. For more information about GitHub Copilot, see [What is GitHub Copilot?](/en/copilot/about-github-copilot/what-is-github-copilot).\n\nTo start using GitHub Copilot in GitHub Codespaces, install the [GitHub Copilot extension from the Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot).\n\nTo include GitHub Copilot, or other extensions, in all of your codespaces, enable Settings Sync. For more information, see [Personalizing GitHub Codespaces for your account](/en/codespaces/setting-your-user-preferences/personalizing-github-codespaces-for-your-account#settings-sync). Additionally, to include GitHub Copilot in a given project for all users, you can specify `GitHub.copilot` as an extension in your `devcontainer.json` file. For information about configuring a `devcontainer.json` file, see [Introduction to dev containers](/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers#creating-a-custom-dev-container-configuration).\n\n## Further reading\n\n* [Quickstart for GitHub Copilot](/en/copilot/quickstart)"}