Copilot CLI - by GitHub¶
Installation¶
# Install with npm
npm install -g @github/copilot
# update to latest version with npm
npm update -g @github/copilot
Get Version¶
% copilot --version
Usage¶
GitHub Copilot CLI is a command-line interface that brings GitHub Copilot's AI capabilities to the terminal. It can help you:
- Get command suggestions for shell commands
- Explain what commands do
- Generate commands based on natural language descriptions
Usage: copilot [options] [command]
Options:
-v, --version Display version information
-h, --help Display help for command
Commands:
explain Explain a command
suggest Suggest a command