[FEATURE] Windows install with Winget
Is your feature request related to a problem? Please describe. After checking the docs, I was the current installation method for Windows is either downloading the binary, using Cargo (if Rust toolchain is installed) or using Chocolatey (after installing it). Going forward, Windows has its own package manager already built-in, winget.
And in the latest versions, there's a possibility to install (read: copy) a binary only. So I created the manifest for wash (see files attached).
Describe the solution you'd like
wash could be listed as a winget package and simplify the installation process for the Windows users.
Describe alternatives you've considered The other alternatives are already listed and working fine, so no changes needed.
Additional context
The manifest has been created with the tool from the winget-pkgs repo: YamlCreate.ps1.
Here's the log of the creation process: winget-create-log.txt
Here's the manifest files for the version 0.17.2 wasmCloud.wash.zip
The following steps explain how to test it:
- Unzip the files
- In a terminal, go to the directory containing the files
- Install
washfrom the manifest with the commandwinget install -m . - Verify that the file has been correctly installed with the command
wash --version
As shown in the log, I didn't create a PR for adding it to the winget-pkgs repo as I though you might want to review the different fields and even automate it through a github action.
Last but not least, only the first version will require a "longer" process, as there's a faster creation process for the updates.
Hope this helps.
Hey @nunix ! This is really cool, I hadn't heard of winget before. I'm not a daily Windows user on the programming side myself, do people in the ecosystem generally use winget over chocolatey for package installing? I like the idea of expanding our package support, but with that comes maintenance that may or not be difficult to keep up as tools keep evolving. I'd be interested in maintaining the best tool for installing wash on Windows 😄
@brooksmtownsend, I'd say as a publisher, you would want to support any and all package managers so you can have the greatest reach. There are examples of how to automate this for WinGet using wingetcreate.
cc'ing @thomastaylor312 in here as well, since he set up our choco distribution and would likely be interested in winget as well
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this has been closed too eagerly, please feel free to tag a maintainer so we can keep working on the issue. Thank you for contributing to wasmCloud!
I'd like to see this. I've switched off choco to exclusively use winget when developing on windows.