this post was submitted on 25 Jul 2023
362 points (92.5% liked)

Technology

59174 readers
3167 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] fatalError@kbin.social 41 points 1 year ago (1 children)

wow, for a seconds I thought you were mocking windows for not having some central software repo like linux uses apt-get, but it actually works o.O
TIL winget is a thing.

[–] linuxisfun@lemmy.world 31 points 1 year ago (2 children)

Haha, glad to hear that you discovered winget through my post!

It was, in my opinion, long overdue for Microsoft to introduce a package manager for Windows, but now that it is there, you can actually use it for all kinds of useful stuff. E. g. I would, if I was using Windows, create a PowerShell script to install my software all at once for whenever I reinstall my computer. This makes reinstalling a lot faster and I have documentation about the programs I had installed before. ;)

[–] brsrklf@compuverse.uk 7 points 1 year ago (1 children)

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 6 points 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.

[–] jungekatz@lemmy.world 4 points 1 year ago

I think they are still updating their repo, i remember adding few basic repos to them !