Powershell better console – PSReadLine for PowerShell command line editing

Towards a better console – PSReadLine for PowerShell command line editing  

Sometimes text mode is where it’s at. I’ve long blogged about tools and techniques that will make your Windows console experience better. Perhaps you’re a *nix person who is using Windows in your day job, or you wish the Windows PowerShell prompt was more nix-y. Or perhaps you’re a PowerShell person who wants to take your command-line to the next level.

Well, just as NuGet is how we get .NET libraries quickly, and Chocolately is a kind of apt-get for Windows, PsGet is a way to easily add PowerShell modules to your prompt.

To install PsGet you run this script (feel free to vet it):

(new-object Net.WebClient).DownloadString(“http://psget.net/GetPsGet.ps1”) | iex

Once you’ve got PsGet, the purpose of this post is to introduce you to PSReadLine.

To install PsReadLine with PsGet, just

install-module PsReadLine

11 Comments

  1. Thanks for the sensible critique. Me & my neighbor were just preparing to do some research about this. We got a grab a book from our local library but I think I learned more from this post. I am very glad to see such magnificent information being shared freely out there.

Leave a Reply

Your email address will not be published.