We don't intend to update releases on GitHub, and may remove the release entirely from GitHub at some point. With the preview release of PowerShellGet for PowerShell V3/V4, downloads from GitHub are deprecated. PowerShell 6+ versions have the newer prerelease versions of PSReadLine. Windows PowerShell on the latest Windows 10 has version 2.0.0-beta2 of PSReadLine. If you are using Windows PowerShell on Windows 10 or using PowerShell 6+, PSReadLine is already installed. Prerelease versions will have newer features and bug fixes, but may also introduce new issues. So Windows PowerShell users need to install the latest PowerShellGet (if not yet) by running the following commands from an elevated Windows PowerShell session: Windows PowerShell 5.1 ships an older version of PowerShellGet which doesn't support installing prerelease modules, You will need the 1.6.0 or a higher version of PowerShellGet to install the latest prerelease version of PSReadLine. Install from PowerShellGallery (preferred) There are multiple ways to install PSReadLine. John Savill has a video (2021) covering installation, configuration, and tailoring PSReadLine to your liking.Ed Wilson (Scripting Guy) wrote a series (2014-2015) on PSReadLine.Keith Hill wrote a great introduction (2013) to PSReadLine.The "out of box" experience is meant to be very familiar to PowerShell users - there should be no need to learn any new key strokes. "Menu" completion (somewhat like Intellisense, select completion with arrows) via Ctrl+Space.Automatic saving of history, including sharing history across live sessions.PowerShell token based "word" movement and kill.Bash/zsh style interactive history search (CTRL-R).Bash style completion (optional in Cmd mode, default in Emacs mode).Cmd and emacs modes (neither are fully implemented yet, but both are usable).A good multi-line experience (both editing and history).This module replaces the command line editing experience of PowerShell for versions 3 and up.
0 Comments
Leave a Reply. |