[note] Installing GitHub Copilot CLI and Usage Guide

1
npm install -g @githubnext/github-copilot-cli
1
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
1
github-copilot-cli auth
1
2
# test for cli
github-copilot-cli what-the-shell how to delete branch
1
2
3
4
5
6
7
8
9
10
11
12
13
 # output
──────────────────── Command ────────────────────

git branch -d <branch>

────────────────── Explanation ──────────────────

○ git branch is used to list branches.
◆ -d <branch> deletes the branch <branch>.

✅ Run this command
📝 Revise query
> ❌ Cancel

[note] Installing GitHub Copilot CLI and Usage Guide

https://hsiangjenli.github.io/blog/note_installation_of_github_cli/

Author

Hsiang-Jen Li

Posted on

2023-07-10

Updated on

2025-02-09

Licensed under