Skip to main content

Setting up your command line on Windows

I'd been frustrated and had resigned to give up on using the command line (CLI) on Windows. Alas, the Microsoft product seemed to not have improved since I started using the command line in High School back in the 90's. Clunky and completely lacking super useful tools, like 'which' on Linux/Mac, I'd just abandoned it. I even wrote scripts in Ruby to avoid using the command line in Windows (which is not a bad idea btw). Yet today I found the missing piece. I knew that you could install Cygwin on windows to get a Linux like prompt, but cygwin is a monster of an environment and you essentially have to live inside of it to use it. But I found Gow and all is well.

First things first, the terminal or command application on windows sucks. I highly recommend using Console2, which is a portable application that is way better at giving you a command prompt than anything Windows has by default, and it's free. You can set a start-up directory in it, so you can launch it from somewhere and have it start in your prefered directory. I haven't gone into all the options but it looks great.



Then install Gow. Which adds all the missing command line utilities to Windows. The list of applications is listed on the website and it's massive. The most important? The 'ls' command, because it's the one I miss the most. However, utilities like curl, which, and vim are awesome.

Comments

  1. Also give a try to ConEmu.
    Here is Scott Hanselman's article
    http://www.hanselman.com/blog/ConEmuTheWindowsTerminalConsolePromptWeveBeenWaitingFor.aspx
    and some user reviews
    http://code.google.com/p/conemu-maximus5/wiki/Reviews

    ReplyDelete
  2. ConEmu does look interesting. I'll check it out. I like that there is a far manager that's like midnight commander for linux.

    ReplyDelete

Post a Comment

Popular posts from this blog

What Medieval Economics can teach us about tariffs.

As a teen, I used to play Dungeons and Dragons (D&D) with my friends. This started an interest in the medieval period that led to me taking a medieval history class in college just to understand the period more. Over the years I've also read great books like " Dungeon, Fire and Sword " about the crusades (I recommend the book) and yet with all that knowledge it wasn't until recently that it occurred to me I had a completely wrong understanding of economics in the Medieval Period. "Viking helmets, sword and footwear" by eltpics is licensed under CC BY-NC 2.0 In my D&D games, players who are adventures battling monsters and creatures would need equipment and on the trips to town, they'd get resupplied with their adventuring necessities. I'd run these moments referencing my imagination of what it must have been and fantasy books I'd read. There be an inn with a raucous bar, a gruffly black-smith, if a city also a weapon and armor sm...

My Fake Resume

Inspired by the over aggrandized bio of Joseph Rakofsky I want to write my own. If you don't know who he is; Joseph Rakofsky is a lawyer who earned a mistrial for a criminal client due to his (alleged) incompetence as reported on the Washington Post . There has been quite a few commentaries on his "Streisand-house" approach of suing all the bloggers and even the Washington Post and American Bar Association for reporting his (alleged) ineptitude. ("Streisand-house" is what happened to Barbara Streisand who wanted to have a picture of her mansion removed from the internet and she sued to have it removed. Unfortunately suing requires the filing of public documents with a picture of her house. The lawsuit had the direct opposite effect it intended. Everybody now could see legally, since it was a public document, a picture of her house.) But all that internet gossip aside I'm most impressed by his resume. Here is a quote from the website: Prior t...

Teaching Programming to Children (pt. 3)

Learning modalities One of the most important things I've learned about teaching is the importance of modalities. Modalities describe the way one learns. I define modalities loosely here, so that when I taught English in Japan, one modality was grammar-learning-learning, another was conversation-driven-learning, interactive, solitary, repetitive, or generative. The trick was to be aware of one's own bias and to teach to as many modalities as possible (not necessarily in the same lesson but throughout the class). I for one am a very visual person. I aced geometry and had headaches with algebra. I can't memorize a math formula with ease but can at a glance figure out angles on parallelograms. I enjoy photography and can't keep a musical beat. Which explains why programming languages with highly equation-driven syntax look like gobbledygook to me, and why when I serenade people I do it John Cussack style -- with a boom-box. This is the coolest thing about Ruby, my ...