os:windows:package:winget
文書の過去の版を表示しています。
winget
マイクロソフトが開発したパッケージマネージャー
インストール/更新
Microsoft Storeでアプリインストーラーが開かれるので、最新版に更新
サブコマンド
| サブコマンド | 説明 |
|---|---|
| -v/–version | wingetのバージョンを表示 |
| –info | wingetの情報を表示 |
| install | 指定されたパッケージをインストール |
| show | パッケージに関する情報を表示 |
| source | パッケージのソースの管理 |
| search | アプリの基本情報を見つけて表示 |
| list | インストール済みパッケージを表示 |
| upgrade | 指定されたパッケージをアップグレード |
| uninstall | 指定されたパッケージをアンインストール |
| hash | インストーラーファイルをハッシュするヘルパー |
| validate | マニフェストファイルを検証 |
| settings | 設定(settings.josnファイル)を開く |
| features | 試験的な機能の状態を表示 |
| export | インストールされているパッケージのリストをエクスポート |
| import | ファイル中の全てのパッケージをインストール |
configureコマンド
- winget configure
winget ツールの configure コマンドは、WinGet 構成ファイルを使用し、お使いの Windows コンピューターの目的の開発環境の状態へのセットアップを開始します。
source更新((repository))
当初 1.2 だったためsourceの更新失敗
最終的に
- 前述のstoreから最新版に更新
user> winget -v v1.7.10661
- winget source reset winget でsource reset
- winget source list するとwinget がなくなってmsstoreのみに
- 以下コマンドで再追加
- winget source add winget https://cdn.winget.microsoft.com/cache
- 再度 winget source list
user> winget source list 名前 引数 ----------------------------------------------------- winget https://winget.azureedge.net/cache msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
PowerShell
最新バージョンの 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
WezTerm
> winget search wezterm 名前 ID バージョン ソース ---------------------------------------------------- WezTerm wez.wezterm 20230712-072601-f4abf8fd winget
インストール
winget install wez.wezterm
インストールできたもの
- WinSCP
- PowerShell
- WezTerm
- Brave
- FastCopy
- nmap
- Visual Studio code
- Windows Terminal
- A5:SQL mk2
- Microsoft PowerToys
- fork
os/windows/package/winget.1718072701.txt.gz · 最終更新: by hayashi
