Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 1, 2025

This PR adds the GitHub Copilot CLI (@github/copilot) to the default installation in the devcontainer environment, as requested in the issue.

Changes

  • Updated .devcontainer/devcontainer.json: Added @github/copilot to the postCreateCommand npm install, so it will be installed globally alongside the existing tools when the devcontainer is created
  • Updated .github/workflows/ci.yml: Added a test to verify that github-copilot-cli is available in the PATH after devcontainer setup

Result

When users create a new codespace or build the devcontainer, the GitHub Copilot CLI will now be automatically installed and ready to use. The installation happens during the postCreateCommand phase using:

npm install -g @anthropic-ai/claude-code@latest @github/copilot

The CI pipeline now validates that the tool is correctly installed as part of the devcontainer functionality tests.

Fixes the feature request to include GitHub Copilot CLI by default.

Original prompt

Can you please include the installation of GitHub Copilot CLI by default?

Thanks.

npm install -g @github/copilot


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Can you please include the installation of GitHub Copilot CLI by default? Thanks. npm install -g @github/copilot Add GitHub Copilot CLI installation by default Oct 1, 2025
Copilot AI requested a review from idvoretskyi October 1, 2025 18:14
@idvoretskyi idvoretskyi marked this pull request as ready for review October 6, 2025 19:16
@idvoretskyi idvoretskyi merged commit c751783 into main Oct 6, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants