I would like to use winget, on Windows 10, as a packet manager, it seems to work pretty well. However I have encountered a big inconvenience: I seem to be not able to specify the location of the installation folder. In the online documentation I have read that I should use --location to specify the location, so something like winget install --id GitHub.Atom --location "C:\Program Files" However this seems to accomplish nothing, and Atom still gets installed into the AppData local folder. I don't get what I am doing wrong here: should I use single quotes? Should I use no quotes at all? I have also tried to use the --scope machine specification, it should tell winget to install the program for all users. However it still gets installed into the local AppData.
What am I doing wrong? Not being able to specify the installation folder is a huge dealbreker for winget... And this package manager has been around for years at this point. If this is a bug it is simply inexcusable, or am I missing something?