Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

PowerShell 7.6.8

未關閉 適合新手
#5,247 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
72/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
github, powershell

研究方向

首先追蹤 GitHub Copilot CLI 中的 Windows 安裝流程,尤其是偵測現有 PowerShell 7 安裝並選擇要安裝版本的邏輯。比較如何發現由 Winget 管理的 PowerShell 版本以及透過 Windows Update 安裝的 PowerShell 版本,然後使用 issue 中描述的受影響版本與安裝路徑驗證修正。

由索引模型根據 Issue 內容生成。

描述

area:installation area:platform-windows
Describe the bug

When I first installed GitHub Copilot CLI on Windows 11, it automatically installed PowerShell 7. I hadn’t had PowerShell 7 before, and I wasn’t a fan of it, but I had to install PowerShell 7.x anyway, so it was fine.

For some reason, Windows Update installed PowerShell 7.6.8 on my workstation. It’s located under “Program Files,” which is a different path from where PowerShell 7 had been installed previously. Although I can see PowerShell 7.6.8 in the system, Winget doesn’t recognize it as installed.

I have two versions of PowerShell 7.x - one installed via Winget and another installed through Windows Update.

This is not the way to be...

Affected version

GitHub Copilot CLI 1.0.103

Steps to reproduce the behavior
  1. Install GitHub Copilot in a system PowerShell 7.6.8 is already installed.
Expected behavior

Respect existing installation of PowerShell 7.6.8, and do not install PowerShell 7.6.7

Additional context

No response

主要語言
Shell
星號
11.3k
分支
2k
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。