Skip to content

Add installation script#772

Merged
devm33 merged 24 commits into
mainfrom
devm33/install
Dec 12, 2025
Merged

Add installation script#772
devm33 merged 24 commits into
mainfrom
devm33/install

Conversation

@devm33

@devm33 devm33 commented Dec 12, 2025

Copy link
Copy Markdown
Member

Test with:

curl -fsSL https://raw.githubusercontent.com/github/copilot-cli/refs/heads/devm33/install/install.sh | bash

Copilot AI review requested due to automatic review settings December 12, 2025 17:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a shell-based installation script for GitHub Copilot CLI to support quick installation on macOS and Linux systems via curl or wget, addressing issue #771.

  • Adds install.sh script that detects platform/architecture and downloads the appropriate binary
  • Updates README.md with new installation methods organized by platform
  • Provides alternative installation path for users who prefer not to use npm

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
install.sh New installation script that handles platform detection, binary download/extraction, and installation to user's local bin directory
README.md Reorganizes installation section with platform-specific subsections and adds curl/wget installation methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh
Comment thread README.md Outdated
Comment thread install.sh
Comment thread install.sh
Comment thread install.sh Outdated
Comment thread install.sh Outdated
devm33 and others added 7 commits December 12, 2025 13:05
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread install.sh
Comment thread install.sh
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread README.md
devm33 and others added 6 commits December 12, 2025 13:26
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

@andyfeller andyfeller left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our users will be spoiled for choice!

Just a handful of thoughts with my main concern being the readme changes.

Comment thread install.sh Outdated
Comment thread install.sh
Comment thread install.sh
Comment thread README.md Outdated
npm install -g @github/copilot
```

#### macOS and Linux

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest: as a user, I would find it easier if the installation sections were either a) 1 operating system or b) 1 installer / package mgmt route.

Right now, we have a mix of both and feel users will find it difficult to parse.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok yeah i just didn't want to repeat the curl instructions -- will update

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok took a pass at reorganizing, let me know your thoughts c068e98

@andyfeller andyfeller left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le ship!

@devm33
devm33 merged commit 29bedd3 into main Dec 12, 2025
3 checks passed
@devm33
devm33 deleted the devm33/install branch December 16, 2025 05:47

@albertoblue87-netizen albertoblue87-netizen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tks

@albertoblue87-netizen albertoblue87-netizen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add script to download and install CLI on linux and mac

4 participants