Home » Questions » Computers [ Ask a new question ]

Is there a way to get iTerm + Bash usability on Microsoft Windows?

Is there a way to get iTerm + Bash usability on Microsoft Windows?

I've been using Bash for years and I really like iTerm. Is there a way to get that level of console usability for Micosoft's Windows cmd?

Asked by: Guest | Views: 268
Total answers/comments: 5
Guest [Entry]

Windows PowerShell (Original Server 2003 Link) is probably worth a look, I'm not sure if it has all the features you want but it's certainly a step up. Otherwise, Console is something I've seen my Windows brethren using that has a fair amount of the features you've asked for.
Guest [Entry]

"I personally prefer Cmder which is a combination of all the previous answers.

Cmder is a software package created out of pure frustration over the absence of nice console emulators on Windows. It is based on amazing software, and spiced up with the Monokai color scheme and a custom prompt layout, looking sexy from the start.

With help of the best

Think about cmder more as a software package than a separate app. All the magic is happening through Conemu. With enhancements from Clink.

Total portability

Carry it with you on a USB stick or in the Cloud, so your settings, aliases and history can go anywhere you go. You will not see that ugly Windows prompt ever again.

Git and others

Oooh yes! If you decide to use the slightly bigger git-for-windows version, you will have all Unix commands ready in PATH so that you can git init or cat instantly on every machine.

Aliases

There is simple support for aliases. They can be created by using the alias command like this: alias ls=ls --color $*. They are pretty much just doskeys in /config/aliases.

It comes with useful bash and git aliases that I stick with to this day:

# Beautiful git log graph shortcut (shown in the top image)
gl=git log --oneline --all --graph --decorate $*
gs=git status
# adds default option to a simple command
ls=ls --show-control-chars -F --color $*
# common alias that often comes default with some distros
ll=ls -alF --color=auto
pwd=cd
clear=cls
history=cat %CMDER_ROOT%\config\.history
unalias=alias /d $1

Copy/Paste support with CTRL+c and CTRL+v with an intuitive mouse selection behavior (top to bottom for line by line selection and bottom to top for block selection).

It supports tabs and configurable split panes that enables you to use Powershell, Git bash, etc. all in the same instance.

It can be configured to have a context menu action to open a console tab in the current directory."
Guest [Entry]

"I actually prefer ConEmu a fair bit more than Console2, and it should have the resize, tabs, and fonts functionality that others (besides CMD! :P) have as well.

It just has the other added features that I can't list right now, customizing the hotkeys for tab switching makes it feel more intuitive, a more dedicated settings menu and tab bar, and definitely the task list you can add preset configurations to, on top of adding parameters that ConEmu understands and modifies its own window.

You can get the decent (in my opinion) tab completion that I think you're referring to just from bash. Not sure about history to show up, but again fish/bash gives you the history you can browse through with the arrow keys and etc. You can get even better (also in my opinion :) tab completion and history browsing using the fish shell!

For ConEmu, the developer stays up-to-date with the project really well, and it feels like he has a good understanding of how to develop the application to have all these features and present a good UI while still having a steady and somewhat fast velocity.

I also definitely use the global hotkey to make the window appear, always having my usual tabs set-up in the window, and you can combine consoles in the same view as well!

One thing you may have to get working if you want, is UTF-8 support. The process is not as difficult as hunting down and applying patches, just setting fonts through the Terminal Window Host and emulator, ConEmu being what I refer to is the Terminal Window Host.
I may have installed a font that can display a larger range of characters for ConEmu, or for the default Windows Command Prompt, can't remember which, or the name of the font O_o. IF you need any other help with it, you can try this page: ConEmu - Unicode Support

With all that, I tend to run Cygwin since I am familiar with many Linux/GNU-based utilities, I use fish/bash when I can, and cmd when I can't for certain tasks.

P.S. Quake-style is always fun if you're up for that ;)"
Guest [Entry]

"I haven't used these personally (Mac os x is my daily driver), but a quick search found these :

win-bash, gnu-bash, and unxutils."
Guest [Entry]

"If you're on Windows 10, you can now (August 2016) use ""BASH on Ubuntu"". It's either added to the OS or available as a feature. (As of the 'Anniversary update'). I have not explored it.

However, I recommend PowerShell if you're doing anything like system administration in a Windows environment. Microsoft has already made this the underpinning of all their products. Learning PS is practically a requirement for system admins in Windows environments now."