PSReadLine 2.2 GA

Jason Helmick

We are pleased to announce the General Availability (GA) of PSReadLine 2.2, an improved command-line editing experience in the PowerShell terminal. This release is supported for PowerShell 7.x and downlevel to Windows PowerShell 5.1.

The release is now available for download on the PowerShell Gallery.

To install PSReadLine:

Install-Module -Name PSReadLine -Force

To install PSReadLine using the new PowerShellGet.v3

Install-PSResource -Name PSReadLine -Reinstall

General Availability Updates

Thank you to the community for your support, suggestions, and pull requests to help improve the command-line editing experience with PSReadLine.

For more information about specific changes, view the PSReadLine Change Log.

Features of Note

Improvements to stability and performance, along with new and updated features, have been added to this release.

Predictive IntelliSense

Predictive IntelliSense is an addition to the concept of tab completion that assists the user in successfully completing commands. The prediction suggestion appears as colored text following the users cursor. This enables new and experienced users of PowerShell to discover, edit, and execute full commands based on matching predictions from the users history and additional domain specific plugins.

Predictive IntelliSense with InlineView: image

Predictive IntelliSense with ListView: image

This feature first appeared in PSReadLine 2.1.0 and has been improved for this release thanks to the community feedback.

For more information about configuring predictions, see Announcing PSReadLine 2.1 with Predictive IntelliSense

Dynamic Help

Dynamic Help provides just-in-time help at the command line. This experience allows you to stay focused on your commands in the pipeline without losing your place in the terminal.

Dynamic Help F1 key provides full help on the command-line.

Image DynHelp1

For more information about additional features and keyboard shortcuts using Dynamic Help, see Announcing PSReadLine 2.2-beta.2 with Dynamic Help

Additional Predictors

Are you working with Azure? When you’re ready to extend predictions to include additional plugins, try out the latest preview of the Az.Tools.Predictor from the Azure PowerShell team.

For the latest preview:

Install-Module -Name Az.Tools.Predictor -AllowPrerelease -Force

To install Az.Tools.Predictor using the new PowerShellGet.v3

Install-PSResource -Name Az.Tools.Predictor -Reinstall

Read more information, see Az.Tools.Predictor.

Future plans

We value your ideas and feedback for this release. Stop by the PSReadLine GitHub repository and let us know of any issues you find or features you would like added.


Discussion is closed.

Feedback usabilla icon