Skip to content

Commit b344a06

Browse files
committed
Document PREFIX
1 parent 7c75e17 commit b344a06

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ Or
5757
wget -qO- https://gh.io/copilot-install | bash
5858
```
5959

60+
Set `PREFIX` to install to `$PREFIX/bin/` directory. Defaults to `/usr/local`
61+
when run as root or `$HOME/.local` when run as a non-root user.
62+
6063
#### macOS
6164

6265
Install with [Homebrew](https://formulae.brew.sh/cask/copilot-cli):

install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ set -e
44
# GitHub Copilot CLI Installation Script
55
# Usage: curl -fsSL https://gh.io/copilot-install | bash
66
# or: wget -qO- https://gh.io/copilot-install | bash
7+
# Set PREFIX to install to $PREFIX/bin/ directory (default: /usr/local for root,
8+
# $HOME/.local for non-root)
79

810
echo "Installing GitHub Copilot CLI..."
911

0 commit comments

Comments
 (0)