Download and install Copilot CLI with curl.
Section: Install with script or via gh
Install using the official curl script
bash
bash
curl -fsSL https://gh.io/copilot-install | bashExplanation
Best for macOS and Linux when you want a fast bootstrap without npm or Homebrew.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Install with script or via gh
Install using the official wget script
Download and install Copilot CLI with wget.
Install a specific version to a custom prefix
Pin a version and custom install directory.
Run a one-off prompt through gh
Pass a prompt through the GitHub CLI wrapper.
Remove the gh-downloaded Copilot CLI
Delete the Copilot binary that gh downloaded.