nerdexam
Microsoft

GH-300 · Question #68

What is the correct sequence of steps to install GitHub Copilot CLI on a developer's system?

The correct answer is A. Install GitHub CLI, run "gh extension install github/gh-Copilot", and authenticate using gh auth. To install GitHub Copilot in the CLI, developers must first have the GitHub CLI (gh) installed. Then, they run the correct command: gh extension install github/gh-Copilot. Authentication is completed with gh auth login. This sequence ensures the extension is installed properly…

Use GitHub Copilot features

Question

What is the correct sequence of steps to install GitHub Copilot CLI on a developer's system?

Options

  • AInstall GitHub CLI, run "gh extension install github/gh-Copilot", and authenticate using gh auth
  • BRun "npm install Copilot", create a GitHub repo, and configure settings
  • CDownload GitHub Desktop, install Copilot from the marketplace, and log in with SSO
  • DInstall VS Code, enable the Copilot extension, and clone a repository

How the community answered

(34 responses)
  • A
    94% (32)
  • B
    3% (1)
  • C
    3% (1)

Explanation

To install GitHub Copilot in the CLI, developers must first have the GitHub CLI (gh) installed. Then, they run the correct command: gh extension install github/gh-Copilot. Authentication is completed with gh auth login. This sequence ensures the extension is installed properly and https://docs.github.com/en/Copilot/managing-Copilot/configure-personal-settings/installing-github- Copilot-in-the-cli

Topics

#GitHub Copilot CLI#Installation steps#GitHub CLI extensions#Authentication

Community Discussion

No community discussion yet for this question.

Full GH-300 Practice