インストール
Windows Package Manager Client(winget)を使ってみました。GitHubのReleaseからダウンロードしてインストールします。 https://github.com/microsoft/winget-cli
インストール前のスクショは取り忘れましたが、こんな感じです。
Package
と検索すると出てきました。
対応パッケージ
以下のコマンドで確認できます。
winget show
2020/05/20
時点で以下のパッケージが利用できました。
7Zip 7zip.7zip 19.0.0 CutePDF Writer AcroSoftware.CutePDFWriter 4.0.0.2 GraphiQL AdamMiskiewicz.GraphiQL 0.7.2 AdobeDigitalEditions Adobe.AdobeDigitalEditions 4.5.11 Brackets Adobe.Brackets 1.14.2 AdoptOpenJDK JRE with Eclipse OpenJ9 8.0.212.03 (x64) AdoptOpenJDK.OpenJDK 8.0.212.03 File Converter (64 bit) AdrianAllard.FileConverter 1.2.3 Cerebro AlexandrSubbotin.Cerebro 0.3.2 AWS Command Line Interface v2 Amazon.AWSCLI 2.0 Kindle Amazon.Kindle 1.25.52064 Ferdi AmineMouafik.Ferdi 5.5.0 AntiMicro AntiMicro.AntiMicro 2.23 Arduino IDE Arduino.Arduino 1.8.12 GitKraken Axosoft.GitKraken 6.5.4 Etcher Balena.Etcher 1.5.88 BitPay BitPay.BitPay 4.8.1 Bitwarden Bitwarden.Bitwarden 1.17.2 BlueJeans BlueJeans.BlueJeans 2.19.791.0 Bluefish Bluefish.Bluefish 2.2.11 Bravelaptopanddesktopbrowser BraveSoftware.Bravelaptopanddesktopbrowser 0.25.2 Ubuntu 18.04 Canonical.Ubuntu 18.04 Advanced Installer Caphyon.AdvancedInstaller 17.0.0.0 Hover Caphyon.Hover 1.1.0.0 Premium Markdown Editor Caret.Caret 3.4.6 Kaku Chia-Lung.Kaku 2.0.2 Lightscreen ChristianKaiser.Lightscreen 2.4 CozyDrive CozyCloud.CozyDrive 3.20.0 Cryptomator Cryptomator.Cryptomator 1.5.4 Barrier DebaucheeOpenSourceGroup.Barrier 2.3.2 MaxTo DigitalCreations.MaxTo 2.0.1 Discord Discord.Discord 0.0.306 Dixa Dixa.Dixa 3.5.5 DockStation DockStation.DockStation 1.5.1 DockerDesktop Docker.DockerDesktop 2.3.0.2 KeePass DominikReichl.KeePass 2.44.0.0 Dropbox Dropbox.Dropbox 94.4.384 ImageGlass DuongDieuPhap.ImageGlass 7.0.7.26 Winlogbeat Elastic.Winlogbeat 7.7.0 Electron Fiddle ElectronCommunity.ElectronFiddle 0.14.0 Esteem Esteem.Esteem 2.2.7 EarTrumpet File-New-Project.EarTrumpet 2.1.7.3 Geany Geany.Geany 1.36 Caption GielCobben.Caption 2.0.1 GIMP Gimp.Gimp 2.10.0 peazip Giorgiotani.Peazip 7.2.1 Git Git.Git 2.26.2 Git Extensions GitExtensionsTeam.GitExtensions 3.3.1 Atom GitHub.Atom 1.45.0 GitHub Desktop GitHub.GitHubDesktop 2.4.3 Git Large File Storage GitHub.GitLFS 2.11.0 GitHub CLI GitHub.cli 0.8.0 Glimpse Glimpse.Glimpse 0.1.2 Chrome Google.Chrome 78.0.39... GraphQL Playground Graphcool.GraphQLPlayground 1.8.10 Greenshot Greenshot.Greenshot 1.2.10.6 Inkscape Inkscape.Inkscape 1.0.0 Insomnia Insomnia.Insomnia 7.1.1.0 TreeSize JAMSoftware.TreeSize 7.1.5 Draw JGraph.Draw 13.0.3 Appium JSFoundation.Appium 1.15.1 Julia Julialang.Julia 1.4.1 CMake Kitware.CMake 3.17.2 LBRY LBRY.LBRY 0.45.1 Joplin LaurentCozic.Joplin 1.0.201 Laragon LeNgocKhoa.Laragon 4.0.15 LibreOffice LibreOffice.LibreOffice 6.4.3 Lisk Hub LiskFoundation.LiskHub 1.22.0 LastPass LogMeIn.LastPass 4.43.0.7 Logitech Harmony Remote Logitech.Harmony 1.0.1.308 Clink MRidgers.Clink 1.0.0 MSIX Hero MarcinOtorowski.MSIXHero 0.7.0.0 Maxthon 5 Cloud Browser Maxthon.Maxthon5 5.3.8.2000 AppInstallerFileBuilder Microsoft.AppInstallerFileBuilder 1.2020.... Azure Cosmos Emulator Microsoft.AzureCosmosEmulator 2.9.2 Azure Data Studio Microsoft.AzureDataStudio 1.15.0 Azure Storage Emulator Microsoft.AzureStorageEmulator 5.10.19... Azure Storage Explorer Microsoft.AzureStorageExplorer 1.13.1 Bot Framework Emulator Microsoft.BotFrameworkEmulator 4.8.1 ConfigMgrToolkit Microsoft.ConfigMgrToolkit 5.00.79... MicrosoftGitCredentialManagerforWindows Microsoft.GitCredentialManagerforWindows 1.20.0 Microsoft Garage Mouse without Borders Microsoft.MouseWithoutBorder 6.5.8 PowerBI Desktop Microsoft.PowerBI 2.81.58... PowerToys Microsoft.PowerToys 0.18.0 Powershell Microsoft.Powershell 7.0.1 SQL Server Management Studio Microsoft.SQLServerManagementStudio 18.5 Microsoft Teams Microsoft.Teams 1.3.0.4461 Visual Studio Community Microsoft.VisualStudio.Community 16.0.30... Visual Studio Enterprise Microsoft.VisualStudio.Enterprise 16.0.30... Visual Studio Professional Microsoft.VisualStudio.Professional 16.0.30... Visual Studio Code Microsoft.VisualStudioCode 1.44.2 Windows Admin Center Microsoft.WindowsAdminCenter 1.2.198... Windows SDK Microsoft.WindowsSDK 10.0.19... Windows Terminal Microsoft.WindowsTerminal 1.0.1401.0 .Net Framework Microsoft.dotNetFramework 4.7.1 .NET Core Microsoft.dotnet 3.1.202 Firefox Mozilla.Firefox 75.0 Beatdrop NathanielJohns.Beatdrop 2.6.2 Notepad++ Notepad++.Notepad++ 7.8.6 Notion Notion.Notion 2.0.8 OBS Studio OBSProject.OBSStudio 25.0.8 Node.js OpenJS.Nodejs 14.2.0 OpenVPN OpenVPNTechnologies.OpenVPN 2.4.9 Opera Opera.Opera 68.0.36... JRE Oracle.JRE 8.241 PDFsam PDFsam.PDFsam 4.1.3 Beaker Browser PaulFrazee.BeakerBrowser 0.8.10 AdvancedRestClient PawelPsztyc.AdvancedRestClient 15.0.5 Recuva Piriform.Recuva 1.53.1087 CCleaner PiriformSoftware.CCleaner 5.66.0.... Python Python.Python 3.8.3 WinRAR RARLab.WinRAR 5.90 RStudio Desktop RStudio.RStudio 1.2.5042 VNCViewer RealVNC.VNCViewer 6.0.0 CemUI RedDucks.CemUI 2.3.3 Ruby RubyInstallerTeam.Ruby 2.7.1 Ruby RubyInstallerTeam.RubyWithDevKit 2.7.1.1 CaesiumPH SaeraSoft.CaesiumPH 0.9.5 Google Play Music Desktop Player SamuelAttard.GooglePlayMusicDesktopPlayer 4.7.1 Beyond Compare 4 ScooterSoftware.BeyondCompare4 4.3.4.2... Putty SimonTatham.Putty 0.73 Slack SlackTechnologies.Slack 4.5.1 HackFonts SourceFoundry.HackFonts 1.6.0 Spotify Spotify.Spotify 1.1.30.658 Franz StefanMalzner.Franz 5.5.0 Strawberry Perl StrawberryPerl.StrawberryPerl 5.30.2.1 Sublime Text SublimeHQ.SublimeText 3.2.2 Lidarr TeamLidarr.Lidarr 0.7.1 Filezilla Client TimKosse.FilezillaClient 3.48.0 Electorrent Tympanix.Electorrent 2.7.1.390 Cura Ultimaker.Cura 4.6.0 UniFi Network Controller for Windows Unifi.Controller 5.12.66 Steam Valve.Steam 2.10.91.91 VLC media player Videolan.Vlc 3.0.10 Harmony VincentL.Harmony 0.9.1 Ghostwriter WereTurtle.Ghostwriter 1.7.1 WhatsApp WhatsApp.WhatsApp 2.2019.8 WinSCP WinSCP.WinSCP 5.17.5 Wireshark WiresharkFoundation.Wireshark 3.2.2 Yarn Yarn.Yarn 1.22.4 Hyper Zeit.Hyper 3.0.2.1510 Zoom Zoom.Zoom 5.0.3 Evernote evernote.evernote 6.24.2.... GIMP gimp.gimp 2.10.18 PresenceLight isaaclevin.presencelight 2.0.1 vim vim.vim 8.2.0754
自分が使うものだけでも確認してみましたが、そこそこあります。
というか OpenJDK
あるんか。
AdoptOpenJDK JRE with Eclipse OpenJ9 8.0.212.03 (x64) Ubuntu 18.04 Discord Git GitHub CLI Chrome CMake PowerToys Visual Studio Community Visual Studio Code Windows Terminal Notion OBS Studio OpenVPN Slack Steam VLC media player
使ってみる
試しにgitを入れてみます。
winget install git
で予測候補が出てきました。
winget install git Multiple apps found matching input criteria. Please refine the input. Name Id Version Matched ---------------------------------------------------------------------------------------------------------- Git Git.Git 2.26.2 Moniker: git Logitech Harmony Remote Logitech.Harmony 1.0.1.308 GitHub Desktop GitHub.GitHubDesktop 2.4.3 GitHub CLI GitHub.cli 0.8.0 Atom GitHub.Atom 1.45.0 GitKraken Axosoft.GitKraken 6.5.4 AdobeDigitalEditions Adobe.AdobeDigitalEditions 4.5.11 MicrosoftGitCredentialManagerforWindows Microsoft.GitCredentialManagerforWindows 1.20.0 Git Large File Storage GitHub.GitLFS 2.11.0 Git Extensions GitExtensionsTeam.GitExtensions 3.3.1 MaxTo DigitalCreations.MaxTo 2.0.1 AppInstallerFileBuilder Microsoft.AppInstallerFileBuilder 1.2020.211.0 Tag: GitHub
winget install Git.Git
でインストールをしました。
途中でUACのダイアログが出てきて、許可するとインストーラーが起動します。設定ダイアログなどは出てきませんでした。
winget install Git.Git Found Git [Git.Git] This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Downloading https://github.com/git-for-windows/git/releases/download/v2.26.2.windows.1/Git-2.26.2-64-bit.exe ██████████████████████████████ 44.7 MB / 44.7 MB Successfully verified installer hash Installing ... Successfully installed!
設定ダイアログが出てこないのは楽なのですが、自分は右クリックで Git GUI Here
は表示しないようにしたい人なのでそこは困りました。
おわりに
GitHubのプロジェクトが winget-cli
になっているのでGUIのもそのうち出てくるんだろうなと思っています。WIndows Storeのも自動的にこれで使えるようになると良いですね。