5 ms·
Humorously, using tools built into Windows 10 and 11 now, you can open a PowerShell window, type winget install Google.Chrome, and never open Edge once if you d
by easton 5y ago
Humorously, using tools built into Windows 10 and 11 now, you can open a PowerShell window, type winget install Google.Chrome, and never open Edge once if you don't want to.
- majkinetor 5y agoYou could do that almost 10 years ago with chocolatey the exactly same way, here is one liner iwr https://chocolatey.org/install.ps1 | iex; cinst googlechrome
- dotancohen 5y agoAnd how did you get chocolatey on that new install? I'm guessing that the vast majority of users opened IE and downloaded it through that browser.
- vadfa 5y ago"iwr https://chocolatey.org/install.ps1 https://chocolatey.org/install.ps1 | iex" installs chocolatey without having to open IE
- dotancohen 5y agoI see. That's why my comment was worded so carefully: though I'm sure one _could_ install chocolatey from the Windows CLI, a tiny minority ever would do so. But that's for introducing me to the iwr command. I don't use Windows often, but it's good to know what tools are available in the rare instances that I need to. Now I need a mnemonic to remember it... "I Want Real (curl)"
- easton 5y agoC:\Windows\System32\curl.exe exists if you want real curl. (or just run curl from a command prompt. curl in powershell is an alias for iwr.
- majkinetor 5y agoIts 5 years outdated tho, better use this, always up to date: https://community.chocolatey.org/packages/curl https://community.chocolatey.org/packages/curl
- alexchro93 5y agoInvoke Web Request is another good one, considering iwr is just an alias for the PowerShell cmdlet Invoke-WebRequest.
- mynameismon 5y agoThat is exactly what I love about Windows 11 particularly. I don't have to deal the abdominations like Microsoft News, just a winget away. Don't like Edge? winget uninstall -e "Microsoft.Edge"
- loudtieblahblah 5y agoi look at advancements like this in Windows and think it's really cool. But after spending so many years, especially in the late 90s and early 2000s, getting shit from a bunch of khaki wearing, corporate butt kissing MSCE types about how Linux is "get what you pay for" and constantly mocking that all this "free software can't do anything" and then sitting back and watching Linux empowering cloud computing, Unix/Linux being the basis of all our mobile devices, being the base for most IoT, watching the explosion of Docker and tons of other toolsets all initially rooted in the Unix/Linux ecosystem, watching Unix/Linux become a tool that developers heavily relied on either Linux on the server or Linux/MacOS on the desktop/laptop... watching Microsoft do things like making Notepad use Unix EOL characters, supporting MS SQL on Linux hosts, expanding PowerShell to perform all kinds of tasks easily done by Unix/Linux for over a decade, creating a knock off of apt and yum with "win-get", making it super easy to install a whole Linux ecosystem within Windows itself, doing everything they can to make using GIT on windows, an easy experience, and so forth and so on.. and i just can't help being figuratively stick up my middle finger. Not just to MS as a company but to all the clowns that mocked Linux and Unix guys for literally 20 some odd years. Not just peers and co-workers, but managers, upper level managers all the way to CTOs who reluctantly realized Linix solutions were a better fit in some areas and were won over by lower management. At this juncture - i don't even particularly like desktop computing, no matter the flavor. It's all frustrating in their own ways - including my precious Linux. But F* windows and F** windows people in IT. The whole lot of em
- Quarrelsome 5y agoGreat post until: > But F* windows and F* windows people in IT. The whole lot of em Maybe leave the late 90s.
- zamadatix 5y agoThis has been doable since Windows has had network connectivity, winget is just the latest way on the pile. Albeit probably the easiest yet. TFTP, FTP, SFTP, SCP, Powershell HTTP(S), curl (giving you a copy of all the prior methods), winget. That's all of the ways I can think of without getting too "make your own program"-y like VBA and whatnot. In particular I remember utilizing the FTP method to get Firefox (avoiding IE) was all the rage in the XP era.