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.
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:
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: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.