Skip to content

Commit d0dbabd

Browse files
authored
Update using-predictors.md
Fix reference and link from the old v3 module to renamed (release version) PSResource module. Reordered and recommended new module. Slight adjustments to each entry for consistency
1 parent 9893b7c commit d0dbabd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reference/docs-conceptual/learn/shell/using-predictors.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ pressing the <kbd>F2</kbd> key. You can also use the **PredictionViewStyle** par
4040
To use Predictive IntelliSense you must have a newer version of **PSReadLine** installed. For best
4141
results, install the latest version of the module.
4242

43-
To install **PSReadLine** using **PowerShellGet**:
43+
(Recommended) Install **PSReadLine** using the new [PSResourceGet][05] module:
4444

4545
```powershell
46-
Install-Module -Name PSReadLine
46+
Install-PSResource -Name PSReadLine
4747
```
4848

49-
Or install using the new [PowerShellGet v3][05] module:
49+
Install **PSReadLine** using the classic **PowerShellGet**:
5050

5151
```powershell
52-
Install-PSResource -Name PSReadLine
52+
Install-Module -Name PSReadLine
5353
```
5454

5555
**PSReadLine** can be installed in Windows PowerShell 5.1 or in PowerShell 7 or higher. To use
@@ -162,7 +162,7 @@ For more information, see [How to create a command-line predictor][02].
162162
[02]: /powershell/scripting/dev-cross-plat/create-cmdline-predictor
163163
[03]: https://techcommunity.microsoft.com/t5/azure-tools-blog/announcing-general-availability-of-az-tools-predictor/ba-p/3297956
164164
[04]: https://www.powershellgallery.com/packages/CompletionPredictor
165-
[05]: https://www.powershellgallery.com/packages/PowerShellGet/3.0.14-beta14
165+
[05]: https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
166166
[06]: media/using-predictors/completion-predictor.gif
167167
[07]: media/using-predictors/predictor-inline-1.png
168168
[08]: media/using-predictors/predictor-listview-1.png

0 commit comments

Comments
 (0)