diff --git a/README.md b/README.md index b0bd160..6793608 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ in the language you choose. The scripts are based on [Chris Titus' Winutil](htt 1. Make sure you are fully updated by running `Check for Updates` from your `START` menu. Hit the win-key and type `updates` to run that. Do a _full_ update and reboot your machine. 2. Start a new PowerShell by typing `PowerShell` in the `START` menu. -3. Confirm that your `winget` is also upgraded with `winget upgrade --all` in this `PowerShell`. +3. Confirm that your `winget` is also upgraded with `winget --version` in this `PowerShell`. + It should be later than `1.28.x`. 4. Install `which` to test that your `winget` works and to agree to any licenses: `winget install which`. 5. Once again, exit `PowerShell`, start a new one, and type: `which which`. @@ -23,6 +24,17 @@ in the language you choose. The scripts are based on [Chris Titus' Winutil](htt > does not then email me at help@learncodethehardway.com so I can find out why. It's suposed to be > the default now. +## `winget` Not Found + +If you get the error `The term 'winget' is not recognized` that means you don't have winget. To fix +that install this: + +https://apps.microsoft.com/detail/9nblggh4nns1?hl=en-US&gl=US + +Then reboot your machine and do the above instructions again. If you still don't have it then the +`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. + ## Installing the Basics First, you run the `base.ps1` script in `PowerShell` to get an initial setup of basic things all diff --git a/base.ps1 b/base.ps1 index 2ae590d..3eec0f7 100644 --- a/base.ps1 +++ b/base.ps1 @@ -1,5 +1,5 @@ -Write-Warning "You must run:" -Write-Warning "winget upgrade --all" +Write-Warning "You must run have the MOST RECENT WINGET." +Write-Warning "winget --version" Write-Warning "winget install which" Write-Warning "Before running this script. If you see errors below then CTRL-C to abort."