Package Details: github-copilot-cli-bin 1.0.51-1

Git Clone URL: https://aur.archlinux.org/github-copilot-cli-bin.git (read-only, click to copy)
Package Base: github-copilot-cli-bin
Description: GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.
Upstream URL: https://github.com/github/copilot-cli
Keywords: ai cli copilot github
Licenses: LicenseRef-GitHub-Copilot
Conflicts: github-copilot, github-copilot-cli
Provides: copilot
Submitter: Dominiquini
Maintainer: Dominiquini (Edu4rdSHL)
Last Packager: Dominiquini
Votes: 2
Popularity: 0.73
First Submitted: 2026-03-07 02:51 (UTC)
Last Updated: 2026-05-20 21:46 (UTC)

Pinned Comments

Edu4rdSHL commented on 2026-05-11 19:26 (UTC)

For everyone having build issues with the shell completion, follow the following steps:

  • Remove your ~/.copilot/pkg folder
  • Clear your AUR helper cache
  • If using makepkg, use -C

That should solve your problem. However, if the issue persists, build your package in a clean chroot environment.

There aren't problems with packaging, and nothing will be changed on our side, so avoid commenting on a problem that has already been discussed many times. Thanks!

Latest Comments

Edu4rdSHL commented on 2026-05-11 19:26 (UTC)

For everyone having build issues with the shell completion, follow the following steps:

  • Remove your ~/.copilot/pkg folder
  • Clear your AUR helper cache
  • If using makepkg, use -C

That should solve your problem. However, if the issue persists, build your package in a clean chroot environment.

There aren't problems with packaging, and nothing will be changed on our side, so avoid commenting on a problem that has already been discussed many times. Thanks!

risr commented on 2026-05-11 12:56 (UTC)

I fixed the installation on my machine using the following instructions.

Build package in a clean chroot environment:

sudo pacman -S manjaro-chrootbuild
git clone https://aur.archlinux.org/github-copilot-cli-bin.git
cd github-copilot-cli-bin
sudo chrootbuild -c -p .

Install package:

sudo pacman -U ./github-copilot-cli-bin-1.0.44-1-x86_64.pkg.tar.zst

Verify installation:

pacman -Q github-copilot-cli-bin
pacman -Ql github-copilot-cli-bin | grep '/bin/'
copilot --version

thefringeninja commented on 2026-05-08 17:31 (UTC)

I had the same issue. I fixed it by first running 'copilot update' to ensure that it could generate completions. Then the PKGBUILD succeeded

Edu4rdSHL commented on 2026-05-08 14:55 (UTC)

These problems are residuals of old installations, usually. Please try building in a clean chroot environment or make sure that ~/.copilot/pkg was correctly deleted before building with your AUR helper.

risr commented on 2026-05-08 14:51 (UTC)

I get an error trying to update this package, even after I did rm -rf ~/.copilot/pkg:

Preparing...
Cloning github-copilot-cli-bin build files...
Generating github-copilot-cli-bin information...
Checking github-copilot-cli-bin dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building github-copilot-cli-bin...
==> Making package: github-copilot-cli-bin 1.0.43-1 (vr 08 mei 2026 16:47:56 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading README-1.0.43.md...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

  0      0   0      0   0      0      0      0                              0
100   7740 100   7740   0      0  39038      0                              0
100   7740 100   7740   0      0  39026      0                              0
100   7740 100   7740   0      0  39015      0                              0
  -> Downloading CHANGELOG-1.0.43.md...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

  0      0   0      0   0      0      0      0                              0
100 120.2k 100 120.2k   0      0 527.0k      0                              0
100 120.2k 100 120.2k   0      0 526.9k      0                              0
100 120.2k 100 120.2k   0      0 526.7k      0                              0
  -> Downloading LICENSE-1.0.43...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

  0      0   0      0   0      0      0      0                              0
100   2901 100   2901   0      0  13857      0                              0
100   2901 100   2901   0      0  13851      0                              0
100   2901 100   2901   0      0  13846      0                              0
  -> Downloading copilot-cli-x86_64-1.0.43.tgz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0

  0      0   0      0   0      0      0      0                              0
100 73.86M 100 73.86M   0      0 84.74M      0                              0
100 73.86M 100 73.86M   0      0 84.74M      0                              0
100 73.86M 100 73.86M   0      0 84.73M      0                              0
==> Validating source files with sha256sums...
    README-1.0.43.md ... Passed
    CHANGELOG-1.0.43.md ... Passed
    LICENSE-1.0.43 ... Passed
==> Validating source_x86_64 files with sha256sums...
    copilot-cli-x86_64-1.0.43.tgz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting copilot-cli-x86_64-1.0.43.tgz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
  -> Generating autocompletions for Bash
error: Invalid command format.

Did you mean: copilot -i "completion bash"?

For non-interactive mode, use the -p or --prompt option.
Try 'copilot --help' for more information.
==> ERROR: A failure occurred in package().
    Aborting...

nitro commented on 2026-05-07 05:44 (UTC)

Thanks, you were right. I checked again and confirmed it was caused by my local build environment. A stale cache under ~/.copilot/pkg was affecting the copilot runtime during the build. After removing that cache, the package built successfully. Sorry about that, and thanks for your help.

Edu4rdSHL commented on 2026-05-07 05:06 (UTC)

The build happens correctly in a clean chroot environment, and there aren't indications of "the current upstream copilot CLI no longer supports the completion subcommand" as per https://github.com/github/copilot-cli/releases/tag/v1.0.43. There aren't issues with packaging. Fix your build environment

nitro commented on 2026-05-07 05:02 (UTC)

Hi, the current PKGBUILD for github-copilot-cli-bin 1.0.43-1 fails during package(). It tries to run: copilot completion bash copilot completion zsh copilot completion fish But the current upstream copilot CLI no longer supports the completion subcommand, so makepkg fails with: "error: Invalid command format." I tested a local fix by removing the shell completion generation lines, and the package builds successfully. Could you please update the PKGBUILD? Thanks.