Cmder: A Better Windows Command Line
ฝัง
- เผยแพร่เมื่อ 11 ธ.ค. 2024
- We are going to take a look at a Windows dev tool called Cmder which uses the ConEmu console, Clink, Git and a host of other tools to give you a MUCH better Windows command line experience.
We will also install the "Terminal" package for Sublime Text and integrate Cmder with it
Cmder Download: www.cmder.net
Terminal Package: packagecontrol...
I will be making a video comparing Cmder, Git Bash, Windows 10 Bash, Cygwin, etc
Cool !!!
Traversy Media I had high hopes for cmder, but had too many path/update issues. Git Bash has been more reliable for me.
Awesome, Waiting of it
Babun too?
Run sublime as administrator to avoid moving directory from Program files to ProgramData
I miss this guy he actually helping me my project since when I was college through his tutorial..thank you so much
he's still posting
I really appreciate this tutorial. When I see a Traversy Media tutorial I get excited, and relaxed because I know my questions will be answered. Thank you for all your effort.
Greetings from Brazil. I installed this CMD here and it is incredible. Thanks for sharing Traversy Media.
Awesome, Im glad you like it
Search blogs.msdn.microsoft.com for 'enhancing the open command prompt here' for how to add Cmder to the menu in Windows Explorer.
Now whenever I right click a directory in Windows Explorer, I have a menu option to spawn a cmder window in that directory.
"Angry nerd squad"! I about died, nearly spit my dinner out, lol! This episode was fantastic, keep these coming!
i really like the way he saying things ,staightfoward and emotional. which is passionate.
A update on this could be cool.
Very nice. this is a great tool. I actually modify the appearance of the windows terminal, but the features of Cmder blow the default terminal out of the water. Thanks again for the introduction. Will be using this as my go-to editor in windows
I gotta be honest, I only clicked on this video because of the lambda logo for cmder, because it made me think of Half-Life. But I think I'm sold on this command line. Looks way better than the default windows command prompt and git bash (which is what I've been using up to now)
This is fantastic! Thank you so much... you have me such needed information as I am just starting out learning code with Sublime and I couldn't get things working on Windows. I appreciate you sharing this.
Thank you!
Thank you for all the work you do and thank you for sharing. Your cmder video saved me time. I will be using cmder daily and blessing you for introducing me to it. All success in your ventures! Please keep on creating new videos. You help so many people like me.
Man this is a LIFE SAVER - I was using git bash and it was slow and not entirely user friendly - this is awesome! Thanks!
Brad you are too cool to provide such killer knowlege with us little people. I have learned so much more from you than I ever did at tree house or lynda. Not only that we share the same name .. Thanks for doing what you do....
Cmder: Hey guys im the new-
Windows Terminal: *LET ME INTRODUCE MYSELF*
By the way, for those who want to use it in VSCode, add this in settings (at least on Windows, don't know for Mac):
"terminal.integrated.shell.windows": "C:\\WINDOWS\\sysnative\\cmd.exe",
"terminal.integrated.shellArgs.windows" : ["/K","C:\\Program Files\\Cmder\\vendor\\init.bat"],
Of course, replacing "C:\\Program Files\\Cmder\\vendor\\init.bat" with the path where you have Cmder.
If it asks you to run it as Administrator, simply add full permissions for the "Cmder" folder to the current user (Right click -> Properties -> Security tab, below "Group or user names:" click "Edit..." and then on your user, then in "Permissions for Users" make sure nothing is checked under "Deny" and everything under "Allow" that can be checked IS checked.
You have option "ForceConEmu as default terminal for console applications" in settings->integration. Check that and you can run cmder in any folder with right click->terminal
Lol, sick. Started using this a while ago and I'm super stoked you use it too.
Really Dope tool to have in your arsenal
For keeping cmder folder in Program Files and still open from Sublime without "Access Denied", try Run as Administrator for Sublime (which can be made default as well in Properties-> Compatibility->Run this program as an Administrator)
To get "Cmder Here" on the (right-click) context menu in or on any folder in Explorer, run the following line from an admin command prompt from the cmder install folder:
.\cmder.exe /REGISTER ALL
Love your commentary man. Funny stuff.
Thanks for the video.
Will definetly be user CMDer
if you want to put Cmder in c:\program files\ then you need to give it complete privileges. Done by right clicking on the folder, properties, security, edit values, add full permissions, save.
Thanks for this video - very cool, I wasnt familiar with this project.
I can almost go back to using Windows now :)
Brilliant Brad! Thx for sharing your wisdom!
Windows now has the Ubuntu Bash shell on Windows (it has for almost a year now) . Could you perhaps do a video on that and how to leverage it for web development?
Yes I plan on that. This is an option for people on all versions of Windows, not just Win 10 64bit
Awesome! There are quite a few videos showing stupid tricks one can do in the new bash, but none on how it can be used for actual web dev and how this improves on the old windows experience.
Traversy Media yes it would be great! in that video can you compare between the two? cmder and Linux bash in Windows. Thank you for all yours efforts in videos you make! much appreciated!
First impression for me is cmder is better than linux bash in windows. I could not use docker in linux bash but it works in cmder
Ubuntu Bash seems too bloated to use just for webdev. I'd rather have GNU/Linux in a VM or just a emulator for windows, like CYGWIN
Thank god that someone had made real terminal for win
I was looking for an alternative to powershell. Thanks for an informative video. You're videos have been a great resource as I learn webdev. Keep up the good work.
You, sir, are the real MVP! Thank you!
Thank you very much, I have been looking for something like this for years!! :)
If you use Windows 10 there is a built-in function called Bash on Ubuntu on Windows. Yes, it's built in, from the box, native, Linux terminal in Windows. Works just great
Awesome video, bonus is Sublime Text. Thanks for posting such a great video. Thanks again.
Around the last minute, you're having trouble putting it in program files, I think it's the `space` between `program` & `file`. I had just been reviewing the most common errors for adding it to VSCode, while you were installing it to Sublime.
but `ProgramData` doesn't have the same space in it
Combined with line endings and double slashes, these are mostly formatting issues between Windows vs Linux, Mac seems to follow Linux closer
You are right, they said this in their doc pages. Just put cmder in any directory which has no spaces in it's name. And that directory must be a write-able directory.
I noticed that you put your settings into the DEFAULT File which will be overwritten when sublime is updated. The official way is to copy the setting/keybindings etc. that you like to change from DEFAULT to USER and then change it.
Wicked good video man, thanks for sharing all this great content with us! Keep up the great work. You rock!
I think problem of "program files" is in space between 'program' and 'files'
So in programData there is no spaces
It's just my opinion
In, fact when I changed the folder name from cmder to cmder_mini it worked even in the Program Files. like its described it sublime Terminal doc:
"terminal": "C:\\Program Files\\cmder_mini\\cmder.exe",
"parameters": ["/START", "%CWD"],
So this means that the space shouldn't be the real problem even though it doesn't have a single reason why it doesn't work with :
"terminal": "C:\\Program Files\\cmder\\cmder.exe"
Hallall shqipe
Run sublime as administrator to avoid moving directory from Program files to ProgramData
Has anyone tried just giving the user write permissions to the program files\cmder directory?
The name of the folder is "Program Files" (with a space). The issue here is that Windows doesn't allow non-admin tasks to modify the contents of the Program Files folder for security reasons. Cmder keeps all of it's data locally in its install folder, so running it as Admin works (at the start of the video) but running it as a regular user (via Sublime) fails because it doesn't have write access. Presumably you could give your user access rights to the folder, but the installation instructions for Cmder tell you specifically not to put it in Program FIles for this very reason.
You need to set access for `Cmder` folder.
how do get previously executed commands like we get in cmd with upArrow
You can set aliases in cmder. For that just type "alias alias_name=cmd_code_here"
Bro can you make a video on how we can upgrade the theme of cmder to zsh
Where did cmdr go?
I suppose I'm just a bit late to the party but great stuff as always! Just to mention a couple things...
1) Chocolatey Package Manager - For anyone who's goto OS is Windows or you prefer macOS or Linux Distros but you must work in Windows for work - Consider using Chocolatey - (chocolatey.org/). It's a great Package Manager / Software Management CLI or GUI for Windows and a lot more. It actually deserves its own video... ;)
To install `Cmder` using Chocolatey:
C:\> choco install cmder
If you're a Linux user, hopefully this will make you feel a little more at home.
2) Quake style slide down - The fact that `Cmder` is based on `ConEmu` means that it leverages the many settings ConsoleEmulator has to offer. In particular the size, position, and the "Quake style slide down".
You can set your console size (pixel or percent values), window position and enable Quake style slide down. Then when you press the Ctrl + ` shortcut, your console will take focus and slide down from the top. In my opinion this makes it so convenient when I need my console.
These are my current settings but you can adjust pretty much everything to your liking - Be careful going down that rabbit hole! :)
Settings > General > Size & Pos:
Auto save window size = On
Window size = Normal
Width = 100% Height = 70%
Settings > General > Quake style:
Quake style slide down = On
Animation time = 300ms
Auto-hide on focus lose = On
Restore to active monitor = On
Cheers...
its not necessary now to copy and paste code for installing package control in sublime, just Ctrl+Shift+p and choose install package control
thanks for sharing this. loving this new terminal
How can we change the default root like cmder_root to any other for eg brute_root in cmder can you make a tutorial for that
*"Rise and shine, Codeon Freeman. Rise, and shine."*
Program Files is write protected without Admin. So putting it in User directory or wherever will fix that issue.
The Quake mode it's pretty awesome too, with Guake set up very much the same on Linux I almost forget on which platform I'm in and just focus on work.
6 days since the last php front to back episode 🙏
dragonhunter250utub i know. Next one will be soon i promise. Just having a busy few days
Traversy Media Thanks.
AVG in my machine is detecting IDP.ALEXA.51 after using cmder for couple of minutes.
Does it need to consider as serious??
In cmd all I have to do is write 'cd (directory name)' but in cmder I have to write the full path (like C:\Users\User\(directory name). Kinda annoying. Why is this?
you can try to write "C:\Program/ Files" to fix that issue.
Thx for the amazing vids. Neat tool as usual. Please keep these tools coming and never mind the keyboard warriors. Once again neat and nice vidz.
Still learning this monster. It needed a SYSTEM HOME profile in a some profile file deep in its bowels for git because my repositories wouldn't recognize my SSH key after using this thing -- Its actually complicated with all the stuff it takes over ....
Could we get an updated video comparing these with the new Windows terminal? (I've been using it for git stuff and ssh lately, really enjoying it)
Hello, after I installed the cmder, I tried to open the cmder.exe file, but I never opens. Does anyone know what is the problem? I've tried to reinstall everything and install it again, but still doesn't work.
Did you solve it?
Johannes Lindgren No, but I decided to use another terminal instead and it worked😂 Thank you
Quake mode bound to a mouse button is the best thing you will ever use
I looked forward to watch this video. Thanks a lot.
I installed full version of CMDER and also pasted it in Program Files, (win 10) but when i open Cmder it is opening as plain fonts and no GREEN or EXTRA colors....it is all in one color, i also tried to change color Scheme, but inspite of changing it, nothing is happening only the background color is changing.
nice video.. with this terminal can you highlight code like sublime text and select colors? for example, what happen if you write one instruction of MySQL in the command shell?
On a vanilla installation of version 1.3.4, the λ prompt is the same color as the background. This prompt is there, as can be seen when I select that area. It stays the same color as the background even if I change the theme. Anyone know how I can make the prompt a different color?
how can take screentshot when apply any command on terminal
man I Love Your Video..
Thanks So Much.
How to skip the confirmation dialog when creating a new tab?
This is such an awesome tool thanks for sharing it...
Hi Brad, love your videos. My question: why don't you use Visual Studio code? It has an in-built terminal, with tabs (kind of), and tons of cool HTML editing features (like Emmet auto complete). Can you make a video comparing different editors (VSCode, Atom, Sublime)
VSCode with Cmder looks great
U can also combine atom and cmder
I use VScode 6 months before switch to atom and now sublime. VS code get slow and lag when you have many extension and snippets, sublime is very fast
thanks a lots for all your important information
Hi, Brad, what's the chrome extension ? 11m 55s. 10Q for the video and explain. 🙏
Anyone know the Symbol the logo for cmder uses?
soo.. do i need to install conemu as well alongside with cmder? anyone have a clue ?
I use Hyper with Cmder's shell. It's great :)
not working ppk key based authentication & kindly share step by step procedure
The feature that made me love Cmder is not mentioned here witch is awesome support for Unicode languages like Persian. It's even better than windows terminal.
anybody know how we can add this to the menu when you right click on a folder? I'd like to see the option to "open cmder here."
You didn't wait for the project folder to open properly before you did Ctrl+Shift+T. Maybe that's the reason terminal didn't open.
Ctrl + Alt + u is not working for me, other shortcuts do work though. Does anybody know how to fix this? I'm on a German keyboard in case that matters.
Thank's but I think Console2 is better, simplefy and lightweight
Thank you for your detailed video. Appreciate it.
If you already have git installed should still install the full version?
I can use npm in git bash, but can't in Cmder, how should I set it up?
thanks very much, Brad! my cmder takes 40 seconds to boot and slows down to a crawl occasionally. Any chance you might have a suggestion ? thanks a lot in advance.
Keep up with the good work :), nice video.
For some reason, I'm still getting the error "Failed to backup ConEmu.xml file to ./config folder!" even after moving cmder to the ProgramData directory
I honestly do not know what is up with that. If anyone else does, please comment
i didn't have a ProgramData
It's a hidden directory
thanks i solved it
You actually can customize Powershell. Pretty difficult but luckily there are a couple of tutorials on how to do it. I'm using cmder though!
when i run cmder it doesn't run on my user directory, instead the path is
C:\program files\cmder
because you have iit on your program files directory
I just followed what he did on the video.
And btw, i already solved it. 😁
This fixed it for me: github.com/cmderdev/cmder/issues/57
I've started using the terminal built into Visual Studio Code. Shortcut: ctl + `
The ugliness of cmd command line for windows is actually what makes it attractive for me. I like its crudeness
The problem with that one is the struggle with multiple servers, e.g. i have 10 servers so i open up 10 panels in mobaxterm where i am able to write to them at the same time. Is there any possibility to do this with cmder?
Single User Portable Config
Download the latest release
Extract the archive. Note: This path should not be C:\Program Files or anywhere else that would require Administrator access for modifying configuration files
(optional) Place your own executable files into the %cmder_root%\bin folder to be injected into your PATH.
Run Cmder.exe
Well, it has the cool lambda icon, but it looks just as a customized ConEmu bundled with Clink and Git without any documentation. I don't see any advantage over installing ConEmu directly (which I use happily for several years).
conemu looks ugly.
I see Traversy Media video, i press like :)
Nice video man! keep doing this videos :D
Hi Brad. What do you think about wallaby.js? need your opinion. Thanks
Hello, do you know how to use the environment paths in cmder? When I try to use $VIM or $PATH it doesn't work
I still get the same problem even though I changed cmder folder to ProgramData folder
Hi! Nice tool! For Program Files I think you need to run the Sublime as admin, do the modification, then close it and after that run it as you. To modify something there sometimes requires admin right, or run as admin, even if you are an admin on that system.
what for pentestbox !
is good d'isint?
How to resolve an error:
'"C:\Program Files\cmder\vendor\conemu-maximus5\..\init.bat"' is not recognized as an internal or external command,
operable program or batch file. ???????/
Ik it has been 4 yrs, but you need to add it to "Paths" in your Environment Variables.
Hello,
How to install on Atom ?
Regards
How about powershell
Brad is the PHP series over?
is there way where you can open editor from terminal in windows like i see people using atom. on mac but is there way for windows?
Jacques van Wyk You can open visual studio code by typing code followed by the directory. Atom n brackets allow for that
Yes, "atom ." works on Windows. I use it all the time.