マイクロソフトが開発したパッケージマネージャー
Microsoft Storeでアプリインストーラーが開かれるので、最新版に更新
winget ツールの configure コマンドは、WinGet 構成ファイルを使用し、お使いの Windows コンピューターの目的の開発環境の状態へのセットアップを開始します。
当初 1.2 だったためsourceの更新失敗
最終的に
user> winget -v v1.7.10661
user> winget source list 名前 引数 ----------------------------------------------------- winget https://winget.azureedge.net/cache msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
最新バージョンの PowerShell を検索
> winget search Microsoft.PowerShell Name Id Version Source -------------------------------------------------------------- PowerShell Microsoft.PowerShell 7.3.6.0 winget PowerShell Preview Microsoft.PowerShell.Preview 7.4.0.3 winget
インストール
> winget install --id Microsoft.Powershell --source winget
以下にインストールされる
C:\Program Files\PowerShell\7\pwsh.exe
> winget search wezterm 名前 ID バージョン ソース ---------------------------------------------------- WezTerm wez.wezterm 20230712-072601-f4abf8fd winget
インストール
winget install wez.wezterm