Cmder Windows Bash

Intro to Cmder. As a Windows user, now and then, I have to use the Windows CMD to run some simple command. Compared to its Linux counterpart (bash, for example), the Windows CMD is totally disaster: it does not support smart TAB completion, it does not support pipes and it has a dumb UI. Make cmder run the renamed bash.exe as startup shell then. This also allows you to type bash in windows explorer as path and invoke cmder with the current directory set as well. You may also want to change the target of the 'Bash on Ubuntu on Windows' shortcut to cmder.

A Better Terminal Emulator (Cmder / ConEmu) Running bash inside of a command prompt or powershell window is not very pleasant. After looking around, I settled on using Cmder as my console emulator. It uses ConEmu, but manages to make it look prettier as well as offering additional features. After that, you need to configure a new task in cmder to run Bash on Ubuntu on Windows: Open cmder. On the menu, open Settings option and then select Startup Tasks from the menu tree (or just hit Win + Alt + T) Click the “+” button to add a new task and fill in the fields as follow: Name: zsh.

Viewed 49 times

I'm attempting to use a Bash terminal through a fresh install of Cmder on Windows 10. Whenever I attempt to delete (via backspace) or use the horizontal arrow keys, it does not seem to rerender correctly. I'll show with an example:

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. Coding in Windows - Setting Up Git & Cmder 14th January 2015 If you're going to be getting into coding, especially Front End, Node.js, or Angular.js development, you're likely going to need (or want) to use Github and version control in your workflow. On my own instance of Cmder, bash filename works just fine, and I believe much simpler: If you want to be able to run the script by simply typing its name, a workaround is to create an alias and put it into your.bashrc such as: Or you can source a script inside your.bashrc and make it available through a function.

This seems to be only a visual issue, as if I were to execute the above example, I would recieve the following result:

Cmder windows terminal

'bash: ab: command not found'

I've tried explicitly setting the TERM variable to ansi, xterm and xterm-256color but to no avail.

Any help would be appreciated :)

Papier MoustachioPapier Moustachio

Browse other questions tagged windowsbashterminalcmder or ask your own question.

Active1 year, 2 months ago
Install

I am new to bash and commandline, a friend adviced me to use Bash through Cmder so I downloaded it here : http://cmder.net/ (mini)But when I open it it emulates the standard command prompt and not Bash. I can't find where I can configure it.When I say Bash I mean Bash on Ubuntu on Windows 10Thanks

neiyaneiya

4 Answers

The Windows bash.exe is located in C:WindowsSystem32, all you need to do from cmder shell is to use the full path:

Alec IstominAlec Istomin

Here's how I did it:

in Settings, Tasks I added a 'bash::ubuntu' task which I launch with :

%windir%system32bash.exe -cur_console:pm:/mnt

(paste it in the big box in the lower right corner)

Cmder Windows Bash 2016

I even set up its icon with :

-icon '%USERPROFILE%AppDataLocallxssbash.ico'

(paste it in 'Task parameter'.)

And it works like a charm, I even set up a personnalised palette locked to bash::ubuntu (using Ap Distinct) that looks like the purple terminal from ubuntu.

BTW the latest version of ConEmu has already bash.exe setup under Bash::bash.

Mad Physicist

Cmder Git Bash

45.2k17 gold badges87 silver badges122 bronze badges
Seanny_CrowSeanny_Crow

Support for the new Windows 10 bash shell is a closed issue now.
Setting could be done this way:

You make a new task called Bash::Ubuntu

Task parameters:

/icon '%USERPROFILE%AppDataLocallxssbash.ico'

Commands:

cmd /k '%SYSTEMROOT%System32bash.exe' -new_console:d:%USERPROFILE%

Then you make a new task called Bash::Ubuntu as Admin

Task parameters same as before Commands:

*cmd /k '%SYSTEMROOT%System32bash.exe' -new_console:d:%USERPROFILE%

2018/7/2 no extra setting need with the latest version of Cmder(v1.3.6) and Win10(17134) with WSL(Windows subsystem Linux).

Shihe ZhangShihe Zhang
1,1614 gold badges21 silver badges41 bronze badges

You can type bash in your terminal to switch to the bash mode

exit to exit

same sh for shell

Oleg ProOleg Pro

Cmder Windows Bash 2016

Not the answer you're looking for? Browse other questions tagged bashubuntuwindows-10cmder or ask your own question.