Skip to content

Specify installer architecture #906

Closed

Description

Add an argument and settings to specify installer architecture

As a user I would like to be able to specify which architecture an installer should use on my machine.

Proposed technical implementation details (optional)

This could be an argument like: winget install foo.bar --architecture x86

There could also be settings to specify a "preferred" architecture or a "required" architecture.

Given a "required" architecture, the search results could be trimmed to include only packages with manifests supporting my "required" architecture.

Activity

  1. added
    Issue-Feature
    on Apr 27, 2021
  2. ghost added
    Needs-Triage
    on Apr 27, 2021
  3. KaranKad commented on May 23, 2021

    @KaranKad

    Maybe something easy to type like for e.g winget install 7-Zip --arch x86 and so on --arch x64, --arch arm, --arch arm64

  4. denelon commented on May 23, 2021

    @denelon
    CollaboratorAuthor

    Karan09 (@KaranKad) we tend to use the double hyphen with the long form, and a single hyphen with a single character. For example:

    The following options are available:
      -v,--version  Display the version of the tool
    

    We might have something like:

     -a, --architecture Use the specified architecture
    
  5. HStry commented on May 31, 2021

    @HStry

    Seconded. Just used winget to install adobe reader, but while running winget from the regular (not x86) powershell, it installed the 32-bit variant even though a 64-bit adobe reader exists.

  6. added this to the milestone on Jun 1, 2021
  7. blackwind commented on Jun 3, 2021

    @blackwind

    To add to Hans Strijker (@HStry)'s comment, the reverse use case is also important -- I require the 32-bit version of Python to interface with other 32-bit programs, but, currently, no option for that. Excited to fully migrate from Chocolatey once all the necessary features are in place.

  8. modified the milestones: , on Jun 17, 2021
  9. chbwien commented on Jul 20, 2021

    @chbwien

    Or notepad++ is available in 32 and 64 bit versions, but some plugins are only available for 32 bit. So it makes sense to install the 32 bit edition on 64 bit OS...

  10. ghost added
    In-PR
    on Nov 2, 2021
  11. ghost removed
    In-PR
    on Nov 2, 2021
  12. ghost added
    In-PR
    on Nov 18, 2021
  13. modified the milestones: , v1.2-Client on Dec 1, 2021
  14. ghost removed
    In-PR
    on Dec 1, 2021
  15. elibroftw commented on May 16, 2026

    @elibroftw

    In case future readers are wondering, you can do this now

    winget install openssl --architecture x64

    which installs the x64 variant of openssl even on ARM64

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

    Issue-Feature

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions