← Back to cmderdev/cmder

How to Deploy & Use cmderdev/cmder

Cmder Deployment and Usage Guide

Prerequisites

  • Windows Operating System (Windows 7 or later)
  • PowerShell (included with Windows)
  • Administrative privileges (required for context menu integration)

Installation

Option 1: Single User Portable Config (Recommended)

  1. Download the latest release from the GitHub Releases page
  2. Extract the archive to a location that doesn't require administrator access (avoid C:\Program Files)
  3. Run Cmder.exe to start the application

Option 2: Shared Install with Non-Portable Individual User Config

  1. Download the latest release from the GitHub Releases page
  2. Extract the archive to a shared location
  3. Run Cmder.exe with the /C argument to specify a user-specific config directory:
    cmder.exe /C %userprofile%\cmder_config
    
  4. This will create the following directory structure if it doesn't exist:
    c:\users\[username]\cmder_config
    ├───bin
    ├───config
    │   └───profile.d
    └───opt
    

Option 3: Context Menu Integration

  1. Open a terminal as Administrator
  2. Navigate to your Cmder directory
  3. Execute:
    .\cmder.exe /REGISTER ALL
    
  4. Right-click in any folder to see "Cmder Here" in the context menu

Configuration

Environment Variables

Cmder automatically adds %cmder_root%\bin to your PATH. You can place custom executables in this folder.

Custom Configuration

  • Place custom executables in %cmder_root%\bin (shared) or %userprofile%\cmder_config\bin (user-specific)
  • Place custom app folders in %cmder_root%\opt (shared) or %userprofile%\cmder_config\opt (user-specific)
  • Custom scripts can be placed in %cmder_root%\config\profile.d or %userprofile%\cmder_config\config\profile.d

Command Line Arguments

ArgumentDescription
/C [user_root_path]Specify individual user Cmder root folder
/MUse conemu-%computername%.xml for ConEmu settings
/REGISTER [ALL, USER]Register Windows Shell Menu shortcut
/UNREGISTER [ALL, USER]Un-register Windows Shell Menu shortcut
/SINGLEStart Cmder in single mode
/START [start_path]Folder path to start in
/TASK [task_name]Task to start after launch
/X [ConEmu extras pars]Forward parameters to ConEmu

Build & Run

Running Cmder

  1. Navigate to your Cmder installation directory
  2. Double-click Cmder.exe or run from command line:
    Cmder.exe
    

Development Mode

Cmder is primarily a pre-built package, but you can modify configuration files directly:

  1. Edit configuration files in the config directory
  2. Modify user_profile.ps1 for user-specific settings
  3. Add custom scripts to profile.d folder

Production Usage

Cmder is ready to use immediately after extraction. No additional build steps are required for production use.

Deployment

Portable Deployment

Cmder is designed for portable deployment:

  1. Copy the entire extracted folder to a USB drive or cloud storage
  2. Run Cmder.exe from any location
  3. All settings and configurations are stored within the folder structure

Network Deployment

For shared environments:

  1. Extract to a network location accessible to all users
  2. Each user runs with their own config directory using the /C argument
  3. Shared binaries can be placed in the common bin folder

Context Menu Deployment

To deploy with context menu integration:

  1. Run as Administrator: cmder.exe /REGISTER ALL
  2. This registers the "Cmder Here" option for all users

Troubleshooting

Common Issues and Solutions

"Access Denied" During Registration

  • Problem: Cannot register context menu without administrator privileges
  • Solution: Run the registration command in an Administrator prompt

Cmder Doesn't Start

  • Problem: Missing dependencies or corrupted installation
  • Solution:
    1. Re-download the latest release
    2. Extract to a location without special characters in the path
    3. Ensure PowerShell is available

Custom Binaries Not Found

  • Problem: Custom executables not in PATH
  • Solution:
    1. Verify files are in %cmder_root%\bin or %userprofile%\cmder_config\bin
    2. Check that the folder is correctly added to PATH
    3. Restart Cmder after adding new binaries

Configuration Changes Not Applied

  • Problem: Cmder still uses old configuration
  • Solution:
    1. Check that you're editing the correct configuration file
    2. Restart Cmder after making changes
    3. Verify file permissions allow modifications

Keyboard Shortcuts Not Working

  • Problem: Some shortcuts may conflict with other applications
  • Solution:
    1. Check ConEmu settings for shortcut conflicts
    2. Modify shortcuts in the settings dialog (Win+Alt+P)
    3. Ensure no other application is capturing the same key combinations

Unicode Characters Display Incorrectly

  • Problem: Non-ASCII characters appear as boxes or question marks
  • Solution:
    1. Ensure you're using a font that supports Unicode (e.g., DejaVu Sans Mono)
    2. Check ConEmu settings for font configuration
    3. Verify system locale supports the required character sets

Slow Performance

  • Problem: Cmder starts slowly or lags during use
  • Solution:
    1. Check for excessive startup scripts in profile.d
    2. Disable unnecessary shell integrations
    3. Ensure your system meets minimum requirements

Git Integration Issues

  • Problem: Git commands not working or showing incorrect information
  • Solution:
    1. Verify Git is installed and in PATH
    2. Check that Git executable is in the bin folder if using portable Git
    3. Ensure Git configuration is properly set up

Getting Help