Cmder Windows Bash

  1. Cygwin
  2. Cmder Windows Bash 2017
  3. Windows Bash Shell
  4. Cmder Windows Bash 2017
  5. Cmder Windows Bash Download
  6. Cmder Git Bash Windows
  • 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.
  • 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.
  • Pro Extends the powerful ConEmu. Cmder builds on ConEmu console emulator, by adding enhancements from clink (such as bash-style completion in cmd.exe and PowerTab in powershell.exe) and optionally extending it with msysgit, that brings Unix tools to Windows.
  • 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.

Jan 20, 2019  Open up a normal WSL terminal (run bash from a command prompt or the start menu) Run the following: chmod +x path where path is what you just copied (you can right click in the WSL terminal to paste your clipboard) exit the WSL terminal and relaunch Cmder Well, we at least have colors now!

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

commented Mar 30, 2016

Support for the new Windows 10 bash shell

;)

Sean

commented Mar 31, 2016

btw: how to enable the bash(linux) environment now?

commented Mar 31, 2016

Cygwin

Not possible yet, will be available in a future insider build.

commented Mar 31, 2016

i believe this bash come on Windows 2016 build

commented Mar 31, 2016

They said it will be released as part of the summer 2016 build. Is there a way to get a hand on the beta version?

commented Mar 31, 2016

Yes Insider builds of Windows 10, will be in the next or the one after that.

commented Mar 31, 2016

Why not, just need to see it working.

commented Apr 8, 2016

Now the bash is available in Build 14316 and I've tried it with cmder. The problem is that arrow keys and Home/End/PgUp/PgDn don't work.

commented Apr 12, 2016

@mxalbert1996 - how did you get it working? When I type bash into cmder, it takes me to MINGW64, not to the new Linux subsystem. The bash command works correctly in a normal command prompt, however.

commented Apr 12, 2016

Same question here. Wondering how to configure cmder to load the linux subsystem with bash

commented Apr 12, 2016

Turns out the latest development version (downloaded today) has integration for the new subsystem bash

commented Apr 12, 2016

I could probably research this myself, but I'm lazy - is the new Bash available in Windows 10 yet? Or just the Insider build?

commented Apr 12, 2016

@DanielGGordon only in latest insider build

commented Apr 12, 2016

@jkudish@nloding
https://conemu.github.io/blog/2016/04/11/Build-160411.html

commented Apr 12, 2016

If you have the insider build installed, you can add linux subsystem bash support by adding a new task that points to:

I want to know if I can replacethe vista bootmgr with the windows 7 bootmgr. Replace bootmgr windows 7.

commented Apr 18, 2016

To those that have tried this, how is the experience? Does everything work as you would expect?

commented Apr 18, 2016

Everything works as expected within Cmder. The shell is still a beta and I've run into a couple quirks that I've reported back to Microsoft, but overall it's pretty seamless. As long as the bash command launches you into the subsystem instead of MINGW64, Cmder works great! (Outside of the arrows, which is a known bug.)

commented Apr 18, 2016

How is the performance? Cmder is great, but it does take slightly longer to respond than the native command line.

commented Apr 18, 2016

I've not noticed much I'd call a performance issue, either with the new bash subsystem or Cmder. Cmder is only 'slow' to launch for me; once it's open I've not had anything I'd call lag.

commented May 4, 2016

How about ConEmu keybindings? Does the shell 'swallow' these in the same way it does with Mintty currently?

commented May 4, 2016

@rmorrin so that's what I was excited about. It doesn't need to use Mintty, so all the ConEmu binding should work. I have been using Mintty, so I don't even remember which bindings don't work when using ConEmu + Mintty.

I know that ctrl + W to close a tab works now - but that does not work with Mintty (I think. I actually don't have it setup in front of me now).

commented Jul 20, 2016

Thanks @jkudish that worked for me

commented Aug 3, 2016

Can we get default scripts going for Cmder/Bash on Windows? Like, if I run the Bash task, it'll give me the folder in color, lambda below style, but the new Bash on Windows obviously doesn't work like that yet, etc.

commented Aug 3, 2016

This is default in new update of WIndows 10 now, I have added of Cmder, but continues with a bug using the arrows.

commented Aug 4, 2016

Guys how do you actually start the bash using Cmder?

commented Aug 4, 2016

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%

commented Aug 4, 2016

@SimonMeskens Do you know why the arrows does't work?

commented Aug 4, 2016

@LFeh You can add -cur_console:p to the Commands.
This is my settings and everything works perfectly.

commented Aug 4, 2016

@SimonMeskens It's working like charm. Now I won't need to use the wrapper which lacking all kinds of basic functionality.

commented Aug 4, 2016

@mxalbert1996 Doesn't work for me =(

commented Aug 4, 2016

@mxalbert1996 Hey sorry but do you know how can I make sure that cmder will execute a command after launching the window? For example it would be good if it would execute zsh so that proper shell is loaded instead of default one.

commented Nov 15, 2016
edited

The zsh history-substring-search isn't working for me when I am in bash-zsh through Cmder. This may just be because of the arrows bug..

commented Nov 16, 2016

I used these instructions (found above) to set up a bash shell tab and I can now use my arrow keys. But when using ZSH, the up and down arrow keys should search through the .zsh_history for matches to the text. Instead they just pull up the last commands entered. Is anyone else experiencing this behavior using zsh in the bash shell inside Cmder?

commented Nov 17, 2016

@josephbergevin You have to enable this feature like this: https://coderwall.com/p/jpj_6q/zsh-better-history-searching-with-arrow-keys. Or basically you can use Oh My Zsh.

commented Nov 17, 2016

@josephbergevin Can you show us your configuration on how you use zsh in cmder? I'm very curious. I have been able to use oh-my-zsh with Cygwin/babun, but I never got it working in the bash task.

commented Nov 17, 2016
edited

@DanielGGordonhttps://gist.github.com/MadLittleMods/0e38f03774fb16e8d698175e505f1f3e#want-zsh, ☝️August 5, 2016 12:34 AM

commented Dec 8, 2016
edited

this step from stanislavromanov doesnt work for me

chsh -s which zsh

so i use this one instead

sudo chsh -s '$(command -v zsh)' '${USER}'

commented Feb 4, 2017
edited

When I type Win+S 'bash.exe' cmder does not start. Only a regular console windows openes. Is this supported somehow? If not will it be?

commented Apr 1, 2017

@bitbonk: I simply created a symlink to cmder (after renaming the original bash.exe in System32). For instance: mklink 'C:WindowsSystem32bash.exe' 'C:UsersNAMEDownloadscmdercmder.exe'. 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.

commented Apr 1, 2017

@LMSDev Why didn't I have to do this for cmd.exe, can't the same mechanism that works for cmd.exe also be used for bash.exe?

commented Apr 1, 2017

@bitbonk I only stumbled upon cmder today because I installed the creators update, so I have no idea how it works with cmd.exe. This is just the workaround I came up with and which works fine for me. If there normally is a more graceful way of replacing that doesn't work with bash.exe, I can't help sorry.

commented Apr 30, 2017

Could someone PR a README addition on how Bash For Windows should work with Cmdr please? This thread is TR;DR.

commented May 1, 2017

@MadLittleMods posted a good link a few comments back. But I do agree with needing a readme or maybe just a new page on the wiki.

Jan 08, 2015  System Center 2012 Configuration Manager Support Center helps you to gather information about System Center 2012 Configuration Manager clients, so that you can more easily address issues with those clients when working with product support specialists. Nov 25, 2015  Configuration Manager Trace Log Viewer – A tool used to view log files created by Configuration Manager components and agents. Deployment Monitoring Tool - The Deployment Monitoring Tool is a graphical user interface designed help troubleshoot Applications, Updates, and Baseline deployments on System Center 2012 Configuration Manager clients. Nov 18, 2016  We are excited to announce an update to System Center Monitoring Pack for System Center Configuration Manager. This update extends the capabilities to monitor availability, performance and health of the Microsoft Intune connector site system role for companies who integrate Configuration Manager and Microsoft Intune in a hybrid environment. Download system center configuration manager.

Although I do believe there is still an issue with arrow keys when using vim :(

Kind of a deal breaker for me honestly. I guess if you are a vim pro, it wouldn't bother you. But I'm pretty far from not using arrow keys when I'm in insert mode. And unfortunately, Microsoft has put this issue on the backlog for now, so realistically I don't think we'll see a fix for at least 6+ months

commented May 1, 2017

@DanielGGordon Try adding -cur_console:p to your task command. After adding this I can use arrow keys in vim.

Cmder Windows Bash 2017

commented May 1, 2017

I used this Gist to get Bash4Win working in Cmder. Arrow keys worked right away, 'LS_COLORS' is not :(

commented May 14, 2017

Thanks @mxalbert1996, I create new task based on your screenshot, the arrow key works now.

commented Jun 28, 2017

Hi everyone, firstly thanks so much, I'm running WSL on cmder and it is excellent! However, I seem to lose the 'arrows working in vim' functionality when I open a second tabbed terminal - any idea what I can do to work around this?

Closed

commented Jan 10, 2018

Is there an update on this?

ConEmu has a guide. https://conemu.github.io/en/BashOnWindows.html

Can Bash on Ubuntu on Windows be added as a default environment in Cmder?

commented Mar 4, 2018
edited

Yes @ehartford,

I have mine cmder loading on linux at start/default.

then changed the bottom to the Bash you just created.

commented Mar 23, 2018

Fixed in 91f5c53

closed this Mar 23, 2018

Windows Bash Shell

commented Oct 1, 2018

On Microsoft Windows [Version 10.0.16299.611]%USERPROFILE%AppDataLocallxssbash.ico is not found. Is there an updated location for the file?

commented Mar 4, 2019

Hi,

I had the same problem with arrowkeys not working in vim when using cmder (E388: Couldn't find definition).
The solution which worked for me (since '-cur_console:p' had no effect) was adding the following line to the ~/.vimrc file:
:set term=builtin_ansi

I hope this may help anyone else,
have fun :)

commented Mar 11, 2019

@DanielGGordon Try adding -cur_console:p to your task command. After adding this I can use arrow keys in vim.

For anyone coming in here to read this, try replacing p with p5.

commented Mar 11, 2019

Anyone able to get their tabs back after restarts when the task is WSL based?

My current task is:

cmd /c C:WindowsSystem32wsl.exe -cur_console:p5:d:D:work

commented Aug 12, 2019

Nice! @CoskunSunali p5 is worked for me. (Windows 10 1903)

commented Aug 22, 2019

Cmder Windows Bash 2017

I'm having this issue when I ssh into a remote host and use vim. It doesn't matter which shell I'm using. It just doesn't work.

locked as off topic and limited conversation to collaborators Aug 22, 2019

commented Aug 22, 2019

Cmder Windows Bash Download

For issues with the support of WSL in ConEmu, please open a ticket over there.

Cmder Git Bash Windows

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.