We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2cd1fb commit 4ffb8b2Copy full SHA for 4ffb8b2
1 file changed
src/copilot-cli/install.sh
@@ -49,6 +49,13 @@ install_using_github() {
49
check_packages wget tar ca-certificates git
50
echo "Finished setting up dependencies"
51
arch=$(dpkg --print-architecture)
52
+ if [ "${arch}" = "amd64" ]; then
53
+ arch="x64"
54
+ fi
55
+ if [ "${arch}" != "x64" ] && [ "${arch}" != "arm64" ]; then
56
+ echo "Unsupported architecture: ${arch}" >&2
57
+ exit 1
58
59
cli_filename="copilot-linux-${arch}.tar.gz"
60
echo "Installing GitHub Copilot CLI for ${arch} architecture: ${cli_filename}"
61
0 commit comments