Many blog show that they can use GitHub Copilot with ?? .... However, according to the official docs, you can only use it with gh copilot explain ... or gh copilot suggest ....
I have found that their difference is the way of installation:
- The former version is installed through npm:
npm install -g @githubnext/github-copilot-cli - The latter version is installed through
gh extension install github/gh-copilot
I have tried to install with npm, but when I tried to auth it with my GitHub account, it told me that I'm not on the waitlist and refused. However, the waitlist doesn't exist now because this tool is in beta stage.
PS: I'm a college student, so my copilot plan is free version (included in the student pack). I'm not sure whether this matters.
npm install -g @githubnext/github-copilot-cli), you're likely installing a CLI (Command Line Interface) version of Copilot. This version is designed to integrate with your command line environment. Try installing it bygh extension install github/gh-copilotand then auth it with your GitHub account. I'm also a student and use copilot from the github student pack.gh extension install github/gh-copilot, but my question is that how I can use??to activate it, which I think is more simple to use.