No upgrade --all, that's bad.

master
Zed A. Shaw 3 weeks ago
parent 605b85a08e
commit 96c4c9910a
  1. 14
      README.md
  2. 4
      base.ps1

@ -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 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. 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. 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 4. Install `which` to test that your `winget` works and to agree to any licenses: `winget install
which`. which`.
5. Once again, exit `PowerShell`, start a new one, and type: `which 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 > does not then email me at help@learncodethehardway.com so I can find out why. It's suposed to be
> the default now. > 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 ## Installing the Basics
First, you run the `base.ps1` script in `PowerShell` to get an initial setup of basic things all First, you run the `base.ps1` script in `PowerShell` to get an initial setup of basic things all

@ -1,5 +1,5 @@
Write-Warning "You must run:" Write-Warning "You must run have the MOST RECENT WINGET."
Write-Warning "winget upgrade --all" Write-Warning "winget --version"
Write-Warning "winget install which" Write-Warning "winget install which"
Write-Warning "Before running this script. If you see errors below then CTRL-C to abort." Write-Warning "Before running this script. If you see errors below then CTRL-C to abort."

Loading…
Cancel
Save