Cmder Windows Terminal Download

0 views
Skip to first unread message

Laraematerre8or Nogoda

unread,
Jul 22, 2024, 2:36:33 PM7/22/24
to dedtebardoi

You can make Cmder the default shell-environment/profile by changing the defaultProfile attribute in the settings file to the name of Cmder's profile (i.e. cmder) in the settings file. For example, if the name of the Cmder profile is cmder, change defaultProfile value to:

cmder windows terminal download


Download Zip ··· https://bltlly.com/2zFJta



If you're on Windows 11, you can set Microsoft Terminal as the default Terminal app on windows, so even if you type cmd.exe in the run menu, the new terminal app will open instead (reference).

I've just started using Cmder on Windows 7 and I understand that is a console emulator for Windows which gives a better experience than using cmd. However as I understand it the emulator needs to run a shell in order to communicate the user commands to the OS, so on windows what is the shell here? is CMD the default shell for Windows?

This is the prototype of cmder prompts. The cwd, git, lamb, etc, are to be substituted with the actual content later on. The \x1b[1;32;40m is the ANSI escape sequence that controls the color of following text. 32 means green text color, 40 means black background color, 39 means default text color, and 49 means default background color.

Also in function set_prompt_filter in %cmder_root%\vender\clink.lua, you may find how cmder added the information of virtual environments into lamb (or more specifically, prompts with () or []). So either you have to retrieve that information from the original prompt, or simply just replace the color codes, as in this answer.

Actually, working in the console doesn't work for me with the regular cmd.exe and I completely understand why developers on Windows still prefer using windows based tools for git and docker, and so on. Because of that, I was using cmder ( ), a great terminal with useful Linux commands and great support for git. The git support not only integrates the git CLI, but it also shows the current branch in the prompt:

The latter is a great help when working with git; I missed that in the other terminals. Commander also supports adding different shells like git bash, WSL, or PowerShell but I used the cmd shell which has been enriched with a lot more useful commands. This worked great for me.

The Windows Terminal (download it from the windows store) and oh-my-posh ( ) are out for a while and I followed Scott Handelman's blog posts about it for a long time but wasn't able to get it running on my machine. Two weeks ago I got some help by Jan De Dobbeleer to get it running. It just turned out that I had too many posh versions installed on my machine, and the path environment variable was messed up. After cleaning my system and reinstalling oh-my-posh on my machine by following the installation guide it is working quite well:

I still need to configure the prompt a little bit to match my needs 100% but the current theme is great for now and does more as cmder does. I'd like to display the latest tag of the current git repository and the currently used dotnet SDK version, but this will be another story.

In the Windows Terminal, I configured oh-my-posh for both, the Windows PowerShell 5 and the new PowerShell 7 and set the PowerShell 7 as my default console. I also added configurations to use PowerShell 5, WSL (both Ubuntu 18 and Ubuntu 20), git bash, and the Azure Cloud Shell. I did almost the same with cmder but I like the way how it gets configured in Windows Terminal.

As mentioned, Chocolatey is the tool I used to install the tools I need, like git, cmder, etc. I tried it for a while, winget was mentioned on Twitter (unfortunately I forgot the link). Actually, it is much better than Chocolatey because it uses the application registry used by windows, which means it can update and uninstall programs that have been installed without using winget.

If you have installed cmder on your system, then go to Preferences: Terminus Settings from the command palette. In the split window that appears. On the right side, you can see the default options default_config and shell_configs. Copy the default_config to the right side and based on your OS, change one of the options (windows, linux, osx) to Cmder (which is the name of one of the default shell_configs option). Doing this should open up the cmder terminal every time you open terminus in a panel or tab. If something goes wrong, double check if the cmd option of the Cmder shell in shell_configs is set to the correct path in your user terminus settings (which is on the left side of the split window that appeared).

Step 2: The first input field of the dialog is the task name. I named it 'bash::ubuntu' but the naming is completely up to you. You can use double colons for grouping, so this would be the 'Ubuntu' task in the 'Bash' group. Cmder already comes with a 'Bash' group containing entries for Bash on mintty (using Cygwin) and another one based on on git-for-windows. To distinguish between the other Bashes and the 'real' Ubuntu thing, I simply chose to also opt into this naming scheme.

Now we'll define a new Cmder terminal profile and set Cmder as the default profile. First, add the line of code below to the second-to-last line. It tells VS Code to use Cmder as the default:

Change the "CMDER_ROOT": "%userprofile%\\Desktop\\cmder" section to point to where your Cmder actually lives. In this example, mine lives on the Desktop. If instead yours lived in the Documents folder, it would instead be "CMDER_ROOT": "%userprofile%\\Documents\\cmder".

I wrote about some of these issues in more detail in the ConEmu vs Hyper article. The cursor bug and CPU resource consumption makes it unusable for day to day usage. I had it get as high as 70% CPU usage just from having terminals open.

Also, one great thing about this tmux strategy is it works on Windows, MacOS and Linux because tmux is running inside of your existing terminal. That means all you have to do is find a good light weight terminal for your OS and all of your tmux keybindings and terminal usage patterns will work the same everywhere.

This is similar to sourcing a .bashrc file after you edit it. The easy way this is to run the init.bat which is usually located in the vendor folder which can be found in the Cmder root folder. The profile files will be reloaded during the Cmder init. The default location of the profile files is in the config folder. For CMD it is the user_profile.cmd file. Cmder creates windows variable %CMDER_ROOT% which references the Cmder root. You should be able to reload the init script with this command:

Cmder is a portable console emulator for Windows that aims to replace the traditional Windows command prompt (cmd.exe) with a more powerful and user-friendly alternative. On the other hand, Windows Terminal is a modern, fast, efficient, and powerful terminal application that brings together all the command-line interfaces (CLIs) under one roof, including the traditional command prompt, PowerShell, and Windows Subsystem for Linux (WSL). Now let's explore the key differences between Cmder and Windows Terminal.

Multiple Operating System Support: Cmder is primarily targeted towards Windows and doesn't have native support for other operating systems. On the contrary, Windows Terminal aims to provide a unified terminal experience across different platforms. It is available for Windows 10, Windows Server 2019, and can also be installed on Linux distributions through the Microsoft Store or by building from source.

Modern Features and Support: While Cmder is a capable console emulator, it is built using the ConEmu project, which hasn't seen active development since mid-2018. Comparatively, Windows Terminal is actively maintained by Microsoft, ensuring regular updates, bug fixes, and new feature implementations. It takes advantage of modern Windows APIs and technologies to provide a more robust and efficient terminal experience.

ConEmu-Maximus5 aims to be handy, comprehensive, fast and reliable terminal windowwhere you may host any console applicationdeveloped either for WinAPI (cmd, powershell, far)or Unix PTY (cygwin, msys, wsl bash).

As Windows console window enhancement (local terminal emulator), ConEmu presents multipleconsoles and simple GUI applications (like PuTTY for example)as one customizable tabbed GUIwindow with various features.

Thank you for your reply.
I had changed the screen buffer size, and also settled the history size, but it doesn't work yet.
although The scroll slider appeared, the length of scroll slider is not a full size then can't appear all info they should.
eg:
When i input ipconfig, the terminal just show 1 page info. I can't get the all info of 'ipconfig'.

760c119bf3
Reply all
Reply to author
Forward
0 new messages