You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,17 @@ There are multiple ways to install PSReadLine.
40
40
41
41
### Install from PowerShellGallery (preferred)
42
42
43
-
You will need [PowerShellGet](https://docs.microsoft.com/en-us/powershell/gallery/installing-psget).
44
-
After installing PowerShellGet, you can simply run `Install-Module PSReadLine -AllowPrerelease -Force` to get the latest prerelease version.
43
+
You will need the 1.6.0 or a higher version of [PowerShellGet](https://docs.microsoft.com/powershell/scripting/gallery/installing-psget) to install the latest prerelease version of PSReadLine.
44
+
45
+
Windows PowerShell 5.1 ships an older version of PowerShellGet which doesn't support installing prerelease modules,
46
+
so Windows PowerShell users need to install the latest PowerShellGet (if not yet) by running the following commands from an elevated Windows PowerShell session:
47
+
48
+
```powershell
49
+
Install-Module -Name PowerShellGet -Force
50
+
Exit
51
+
```
52
+
53
+
After installing PowerShellGet, you can simply run `Install-Module PSReadLine -AllowPrerelease -Force` to get the latest prerelease version of PSReadLine.
45
54
If you only want to get the latest stable version, run `Install-Module PSReadLine`.
46
55
47
56
>[!NOTE] Prerelease versions will have newer features and bug fixes, but may also introduce new issues.
0 commit comments