Skip to content

Commit 74b5b42

Browse files
SteveL-MSFTdaxian-dbw
authored andcommitted
Update install instructions for prerelease (#999)
1 parent 3ed06e1 commit 74b5b42

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ There are multiple ways to install PSReadLine.
4242

4343
You will need PowerShellGet. It is included in Windows 10 and [WMF5](http://go.microsoft.com/fwlink/?LinkId=398175). If you are using PowerShell V3 or V4, you will need to install [PowerShellGet](https://docs.microsoft.com/powershell/gallery/installing-psget).
4444

45-
After installing PowerShellGet, you can simply run `Install-Module PSReadLine`.
45+
After installing PowerShellGet, you can simply run `Install-Module PSReadLine -AllowPrerelease -Force` to get the latest prerelease version.
46+
47+
If you only want to get the latest stable version, run `Install-Module PSReadLine`.
48+
49+
>[!NOTE] Prerelease versions will have newer features and bug fixes, but may also introduce new issues.
4650
4751
If you are on Windows 10, PSReadLine is already installed. Windows 10 RTM and the November update have version 1.1, later builds have version 1.2 (which includes vi mode). See below for how to upgrade.
4852

@@ -67,7 +71,7 @@ if ($host.Name -eq 'ConsoleHost')
6771
Alternatively, the file `C:\Users\[User]\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1` is for powershell.exe only. Using this file, you can simply add:
6872

6973
```powershell
70-
Import-Module PSReadLine
74+
Import-Module PSReadLine
7175
```
7276

7377
In either case, you can create the appropriate file if you don't already have one.

0 commit comments

Comments
 (0)