[BUG]: Can't install Copilot extension
iamsubingyawali opened this issue · comments
Description
I'm experiencing an issue while attempting to install the GitHub Copilot extension for the GitHub CLI on Linux. When running the following command:
gh ext install github/gh-copilot --force
The installation process appears to get stuck forever and doesn't complete. If I cancel the installation and try to reinstall the extension, the CLI reports that the extension already exists. However, when I try to run the gh copilot
command, I receive the following error:
failed to run extension: fork/exec /home/user/.local/share/gh/extensions/gh-copilot/gh-copilot: no such file or directory
This suggests that the extension was not installed properly. I tried using gh ext browse
and tried to install it from there as well but it too didn't work.
Environment
OS: Zorin OS 17.1 (Based on Ubuntu Jammy)
GitHub CLI: v2.46.0
Shell: Bash v5.1.16
Expected Behavior
The GitHub Copilot extension should be installed correctly, and the gh copilot
command should work as expected, providing access to the Copilot functionality in the CLI.
Please let me know if you need any additional information to investigate and resolve this issue.
I was mistaken. The installation took a significant amount of time and was not stuck.
It took a really long time (More than 40 mins).
Updates: cli/cli#8861