{"id":19373,"date":"2022-02-23T13:03:53","date_gmt":"2022-02-23T21:03:53","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/powershell\/?p=19373"},"modified":"2022-02-23T13:03:53","modified_gmt":"2022-02-23T21:03:53","slug":"psreadline-2-2-ga","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/psreadline-2-2-ga\/","title":{"rendered":"PSReadLine 2.2 GA"},"content":{"rendered":"<p>We are pleased to announce the General Availability (GA) of <strong>PSReadLine 2.2<\/strong>, an\nimproved command-line editing experience in the PowerShell terminal. This release is supported for\n<strong>PowerShell 7.x<\/strong> and downlevel to <strong>Windows PowerShell 5.1<\/strong>.<\/p>\n<p>The release is now available for download on the\n<a href=\"https:\/\/www.powershellgallery.com\/packages\/PSReadLine\/2.2.2\">PowerShell Gallery<\/a>.<\/p>\n<p>To install <strong>PSReadLine<\/strong>:<\/p>\n<pre><code class=\"language-powershell\">Install-Module -Name PSReadLine -Force<\/code><\/pre>\n<p>To install <strong>PSReadLine<\/strong> using the new <a href=\"https:\/\/www.powershellgallery.com\/packages\/PowerShellGet\/3.0.12-beta\">PowerShellGet.v3<\/a><\/p>\n<pre><code class=\"language-powershell\">Install-PSResource -Name PSReadLine -Reinstall<\/code><\/pre>\n<h2>General Availability Updates<\/h2>\n<p>Thank you to the community for your support, suggestions, and pull requests to help improve\nthe command-line editing experience with <a href=\"https:\/\/github.com\/PowerShell\/PSReadLine\">PSReadLine<\/a>.<\/p>\n<p>For more information about specific changes, view the <a href=\"https:\/\/github.com\/PowerShell\/PSReadLine\/blob\/master\/PSReadLine\/Changes.txt\">PSReadLine Change Log<\/a>.<\/p>\n<h2>Features of Note<\/h2>\n<p>Improvements to stability and performance, along with new and updated features, have been added to\nthis release.<\/p>\n<h3>Predictive IntelliSense<\/h3>\n<p>Predictive IntelliSense is an addition to the concept of tab completion that assists the user in\nsuccessfully completing commands. The prediction suggestion appears as colored text following the\nusers cursor. This enables new and experienced users of PowerShell to discover, edit, and execute\nfull commands based on matching predictions from the users history and additional domain specific\nplugins.<\/p>\n<p>Predictive IntelliSense with InlineView:\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2022\/02\/pred-wlc.png\" alt=\"image\" \/><\/p>\n<p>Predictive IntelliSense with ListView:\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2022\/02\/pred-listview.png\" alt=\"image\" \/><\/p>\n<p>This feature first appeared in\nPSReadLine 2.1.0 and has been\nimproved for this release thanks to the community feedback.<\/p>\n<p>For more information about configuring predictions, see\n<a href=\"https:\/\/devblogs.microsoft.com\/powershell\/announcing-psreadline-2-1-with-predictive-intellisense\/\">Announcing PSReadLine 2.1 with Predictive IntelliSense<\/a><\/p>\n<h3>Dynamic Help<\/h3>\n<p>Dynamic Help provides just-in-time help at the command line. This experience allows you to stay\nfocused on your commands in the pipeline without losing your place in the terminal.<\/p>\n<p>Dynamic Help F1 key provides full help on the command-line.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2022\/02\/DynHelp1.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-19376\" src=\"https:\/\/devblogs.microsoft.com\/powershell\/wp-content\/uploads\/sites\/30\/2022\/02\/DynHelp1.gif\" alt=\"Image DynHelp1\" width=\"1184\" height=\"704\" \/><\/a><\/p>\n<p>For more information about additional features and keyboard shortcuts using <strong>Dynamic Help<\/strong>, see\n<a href=\"https:\/\/devblogs.microsoft.com\/powershell\/announcing-psreadline-2-2-beta-2-with-dynamic-help\/\">Announcing PSReadLine 2.2-beta.2 with Dynamic Help<\/a><\/p>\n<h2>Additional Predictors<\/h2>\n<p>Are you working with Azure? When you&#8217;re ready to extend predictions to include additional plugins,\ntry out the latest preview of the <code>Az.Tools.Predictor<\/code> from the Azure PowerShell team.<\/p>\n<p>For the latest preview:<\/p>\n<pre><code class=\"language-powershell\">Install-Module -Name Az.Tools.Predictor -AllowPrerelease -Force<\/code><\/pre>\n<p>To install <code>Az.Tools.Predictor<\/code> using the new <a href=\"https:\/\/www.powershellgallery.com\/packages\/PowerShellGet\/3.0.12-beta\">PowerShellGet.v3<\/a><\/p>\n<pre><code class=\"language-powershell\">Install-PSResource -Name Az.Tools.Predictor -Reinstall<\/code><\/pre>\n<p>Read more information, see <a href=\"https:\/\/techcommunity.microsoft.com\/t5\/azure-tools\/announcing-az-predictor\/ba-p\/1873104\">Az.Tools.Predictor<\/a>.<\/p>\n<h2>Future plans<\/h2>\n<p>We value your ideas and feedback for this release. Stop by the\n<a href=\"https:\/\/github.com\/PowerShell\/PSReadLine\/issues\">PSReadLine<\/a> GitHub repository and let us know of\nany issues you find or features you would like added.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Announcing the general availability (GA) release for PSReadLine 2.2. This release addresses community suggestions and feedback. Be sure to checkout new features Predictive IntelliSense and Dynamic Help.<\/p>\n","protected":false},"author":7527,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[3168],"class_list":["post-19373","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-psreadline"],"acf":[],"blog_post_summary":"<p>Announcing the general availability (GA) release for PSReadLine 2.2. This release addresses community suggestions and feedback. Be sure to checkout new features Predictive IntelliSense and Dynamic Help.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/19373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/7527"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=19373"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/19373\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=19373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=19373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=19373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}