Skip to content

Recommend Windows users to use winget configure #437

Open
@stevapple

Description

@stevapple
Contributor

Is your feature request related to a problem? Please describe

Currently Windows toolchain installation involves multiple steps, which is over-complicated for new users or developers from other platforms. We can both make the step simpler and more robust.

Describe the solution you'd like

Windows Package Manager includes WinGet Configuration tool in its latest release, which allows users to set up the required environment from a single configuration file (written in YAML), with advanced features like Developer Mode detection and control flow. We can provide the configuration, and to ensure all tools and functionalities are properly set up for Swift.

Describe alternatives you've considered

Either keep the existing way, or using a CMD/PowerShell script. Neither batch script nor PowerShell is as clear as the configuration file, and it is potentially dangerous to run a remote script which we shouldn’t promote.

Additional context

WinGet Configuration overview: https://learn.microsoft.com/en-us/windows/package-manager/configuration/

Activity

stevapple

stevapple commented on Nov 7, 2023

@stevapple
ContributorAuthor

Awaiting microsoft/winget-cli#3554 which may help reduce the setup to a single command

stevapple

stevapple commented on Jan 9, 2024

@stevapple
ContributorAuthor

Now that the feature is in preview, and it seems to solve the multiple problems we've had before (including setting SeSymbolicLinkPrivilege automatically, where @compnerd may be interested). However, I would like to see if there's opportunity for Swift.org to provide "dynamic" (or configurable in some way) WinGet configuiration files so that users with all kinds of need can just copy and install with just two clicks and a single command run.

Maybe there could be an online meeting on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @stevapple

      Issue actions

        Recommend Windows users to use `winget configure` · Issue #437 · swiftlang/swift-org-website