• brsrklf@compuverse.uk
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    Count me in the people who had no idea windows had a command line package manager-style tool.

    Does it look for its stuff in the windows store?

    • linuxisfun@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 year ago

      Winget is able to install applications from multiple sources, including the Microsoft Store. You can see a list of all configured sources by executing winget source list. For regular applications a community repository is preconfigured.

      If you would execute my example command, Firefox would get installed from the community repository. You should be able to use the following command to install the Microsoft Store version of Firefox: winget install 9NZVDKPMR9RD

      9NZVDKPMR9RD is the package id of the Microsoft Store version of Firefox. You can either get it by executing winget search firefox or you can get it from the URL of the Microsoft Store entry.

      • brsrklf@compuverse.uk
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        I didn’t expect there to be an officially supported community repository too. Interesting.