Skip to content

cmder

Portable console emulator for Windows.

Download and install

  1. Head over to the cmder website and download the full version.
  2. Extract the zip directly into your C:/ so that the path resembles c:/cmder

cmder in Visual Studio Code

  1. In Visual Studio Code press ctrl+, , in the top left click the JSON icon
  2. Paste at the end of your config:
json
"terminal.integrated.defaultProfile.windows": "Cmder",
"terminal.integrated.profiles.windows": {
    "Cmder": {
        "args": [
            "/k",
            "C:\\cmder\\vendor\\bin\\vscode_init.cmd"
        ],
        "path": "${env:windir}\\System32\\cmd.exe"
    }
}

To activate autosuggestions in the CLI we need to update the version of clink bundled with cmder to a fork.

  1. Download the clink fork from the website (make sure to get the first zip not the setup exe)
  2. Close cmder and Visual Studio Code instances running cmder
  3. Extract the files from the zip into your cmder bin folder C:\cmder\vendor\clink
  4. Start cmder and run clink set autosuggest.enable true

Now when you begin to type you should have autocomplete suggestions, press the right arrow to accept the suggestion. For suggestion completion type the beginning of a command and press ctrl+space

Agnoster-like theme installation

  1. Head over to the instructions site
  2. Download the AnonymousPro font and install
  3. Download the LUA files for cmder here
  4. Extract the files inside c:/cmder/config
  5. Go to cmder Settings > Main
  6. Choose Main console font to be what you prefer, I like Fira code
  7. Choose Alternative Font to be Anonymice Powerline
  8. Modify the value of Unicode ranges to add : E0A0; E0B0;
  9. Save settings

Using cmder in Windows terminal

  1. Download Windows terminal
  2. In a separate powershell or cmdline type the New-Guid command and copy the result
  3. Open windows terminal up and right click the task bar > settings > Open JSON file
  4. Under profiles lists Paste
json
{
    "commandline": "cmd.exe /k %CMDER_ROOT%\\vendor\\init.bat",
    "font": 
    {
        "face": "Fira Code"
    },
    "guid": "[paste the guid generated earlier]",
    "icon": "%CMDER_ROOT%\\icons\\cmder.ico",
    "name": "Cmder",
    "startingDirectory": "[your projects folder]",
    "useAcrylic": true
}
  1. Then the defaultProfile property we change to the GUID given to cmder
json
{
    "defaultProfile": "[paste the guid generated earlier]"
}

Released under the MIT License.