devpod icon indicating copy to clipboard operation
devpod copied to clipboard

[FEATURE] Windows install with Winget

Open nunix opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Not really, more a "quality of life" feature for the Windows users.

Which solution do you suggest? Add devpod to the Winget packages, so it can be installed more easily in the most recent versions of Windows.

Which alternative solutions exist? Currently we already can install devpod by downloading the MSI file and then running the installer. The CLI also can be downloaded as a standalone, however as Windows doesn't have a "common" place to store the standalone binaries, some PATH configuration is needed. This is only true for the CLI as a standalone, as the full install allows to add the binary to the PATH with a simple click in the UI.

Additional context In order to help, here's the manifests created with the tool from the winget-pkgs repo: YamlCreate.ps1.

Here's the log of the creation process: winget-devpod-install-log.txt

Here's the manifest files for the version 0.1.2: loft-sh.devpod.installer.zip

The following steps explain how to test it:

  • Unzip the files
  • In a terminal, go to the directory containing the files
  • Install wash from the manifest with the command winget install -m .
  • Verify that the installation was successful by running devpod

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.

nunix avatar May 17 '23 12:05 nunix

If the automation is going to be a GitHub action, you can look at PowerToys and Oh-My-Posh for examples. The wingetcreate tool can also be used to generate manifests and submit the PR.

denelon avatar May 17 '23 15:05 denelon

Winget currently showing older version. Current (2024-01-31) is 0.5.0

$ winget search devpod
Name   Id              Version Source
--------------------------------------
DevPod LoftLabs.DevPod 0.3.0   winget

tyler36 avatar Feb 07 '24 05:02 tyler36

This PR should update the winget listing to 0.5.4

https://github.com/microsoft/winget-pkgs/pull/144144

licon4812 avatar Mar 13 '24 10:03 licon4812

Confirmed. Now showing 0.5.4. Thank you @licon4812 .

> winget search devpod
Name   Id              Version Source
--------------------------------------
DevPod LoftLabs.DevPod 0.5.4   winget

tyler36 avatar Mar 13 '24 23:03 tyler36

thanks @licon4812! If you guys don't mind I'll close this issue as it's a community supported distribution

pascalbreuninger avatar Apr 17 '24 19:04 pascalbreuninger