Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install dart-sdk for windows through winget #43977

Open
RatakondalaArun opened this issue Oct 29, 2020 · 7 comments
Open

Install dart-sdk for windows through winget #43977

RatakondalaArun opened this issue Oct 29, 2020 · 7 comments
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.

Comments

@RatakondalaArun
Copy link

RatakondalaArun commented Oct 29, 2020

Support for installing dart-sdk through Winget( official windows package manager).

  • Dart SDK Version 2.10.2
  • Windows 10 Home 2004
@lrhn lrhn added the area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes. label Oct 29, 2020
@parlough
Copy link
Member

parlough commented Mar 2, 2021

This would be quite nice for those using Windows, but it seems it only supports (msi?) installers rather than zip like Chocolatey. I cannot seem to find any archive of these installer so perhaps they're not included in Dart's release infrastructure at all, otherwise a community member could also handle including the SDK as a winget pkg.

@parlough
Copy link
Member

As of now, winget is bundled by default:

Windows Package Manager winget command-line tool is bundled with Windows 11 and modern versions of Windows 10 by default as the App Installer.

Building supported executables and adding them to the winget repository would greatly reduce developer friction for Windows users, which currently requires either manually downloading and setting path, or downloading a third party tool.

@alanlivio
Copy link

It is a very interesting feature.

@rifkyputra
Copy link

any update ?

@rubenferreira97
Copy link

rubenferreira97 commented Feb 11, 2023

This would be quite nice for those using Windows, but it seems it only supports (msi?) installers rather than zip like Chocolatey. I cannot seem to find any archive of these installer so perhaps they're not included in Dart's release infrastructure at all, otherwise a community member could also handle including the SDK as a winget pkg.

@parlough With microsoft/winget-cli#140 closed is now possible to bundle dart-sdk as a zip?

@parlough
Copy link
Member

It seems like progress has been made yes, but it doesn't look to be completely ready yet. After some investigation, it seems the winget package repository (Windows Package Manager Community Repository) is not accepting portable zip-based manifests yet, and it looks like support for adding a whole directory to the path is still needed. Here's a potential PR you could track: microsoft/winget-pkgs#92317

@AlvaroVasconcelos
Copy link

any update ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.
Projects
None yet
Development

No branches or pull requests

7 participants