CLI での GitHub Copilot の使用 - GitHub Docs
GitHub コマンド ライン インターフェイスである gh を使用して、GitHub Copilot in the CLI を操作できます。