Cmder in Code

How to make VisualCode/Codium/Antigravity/Cursor use Cmder as the shell.


Quick post - I’m using Windows again at work, and I want/need Cmder. Yes, PowerShell is there … it’s just funny looking and slow.1 So this blast of a guide is how to fixit.

Once you have Codium and Cmder installed …

You need to create a new terminal profile, tell it to use cmd.exe and to run vendor/init.bat on startup.

  1. Launch Codium
  2. CTRL+J ande selecte the TERMINAL tab
  3. next to the little + open the dropdown and select “Configure Terminal Settings”
  4. The settings section has … stuff … scroll around and click/select “Edit in settings.json
  5. Add the following sections (adjust) the .bat path
      "terminal.integrated.profiles.windows": {
        ...
        "cmder": {
          "path": "C:\\WINDOWS\\System32\\cmd.exe",
          "args": [
            "/K",
            "C:\\find\\your\\cmder\\install\\and\\vendor\\init.bat"
          ]
        },
        ...
      },
      "terminal.integrated.defaultProfile.windows": "cmder"
    
  6. re-check the terminal panel; cmder should be an option now, and you can use it - right?

  1. … under Windows 11 - Win11 is slow. There are a lot of dumb changes with Windows 11, for example, CTRL+C (or right click) doesn’t reliably copy text - I need to wait and use the “on hover” popup. ↩︎

comments powered by Disqus
Peter LaValle avatar
Peter LaValle
Any links probably include affiliate ids for that sweet sweet kickback - and some programs require that I tell you. The contents of this blog are likely unrelated - as they include games, paints, and build tools.