diff --git a/README.md b/README.md index 30071b0..cde9da2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This is a collection of automated installer scripts for "real programmers." The install various base packages most programmers need, and then specific packages you'll need to work in the language you choose. The scripts are based on [Chris Titus' Winutil](https://github.com/ChrisTitusTech/winutil) but redesigned to allow you to run the script as a normal user and becoming admin as needed. If you want more software then check out Chris' very nice script. -> _UPDATE FOR 2025_ The latest version of these scripts features only WinGet for installation. +> _UPDATE FOR 2026_ The latest version of these scripts features only WinGet for installation. > Chocolatey doesn't update their packages often enough and WinGet is officially supported by > Microsoft. This does mean though that we have to deal with Microsoft employees doing weird things > with the PATH so please read about `pathfixer.ps1` below. @@ -35,6 +35,20 @@ Then reboot your machine and do the above instructions again. If you still don' `winget` tool isn't in your PATH and you have to fix that. I'm not sure how it gets that way so I can't replicate it. +## Fixing your `winget` + +The first time you run `winget` it will prompt you for license stuff. Do this: + +1. Start PowerShell. +2. Type: `winget install which` +3. Agree to license. +4. Restart PowerShell. +5. Type: `which winget` +6. You should see something like `C:\Users\lcthw\AppData\Local\Microsoft\WindowsApps\winget.EXE` + +If you have any problems with these steps then stop and fix it. `winget` is available on every +Windows machine now so if you don't have it you broke something. + ## Installing the Basics First, you run the `base.ps1` script in `PowerShell` to get an initial setup of basic things all