# 📜 Adding Cmder to Visual Studio Code or Hyper

##### July 8, 2018

Cmder is an excellent terminal emulator for Windows. It gives you a dropdown terminal and an environent far superior to the default cmd. It works out of the box and comes with a bunch of unix utilities like grep, ssh and awk out of the box. The issue is, you don’t want be restricted to using ConEmu in order to access the prompt. Here’s how you can use cmder in other programs.

First you’ll need to create a vscode.bat script in your cmder root dir (e.g., C:\bin\cmder) containing the following:

@echo off
SET CMDER_ROOT=C:\Code\cmder
"%CMDER_ROOT%\vendor\init.bat"


## Vscode

Add in the following arguments to your vscode settings file:

{
"terminal.integrated.shell.windows": "C:\\WINDOWS\\sysnative\\cmd.exe",
"terminal.integrated.shellArgs.windows": [
"/k", "C:\\Code\\cmder\\vscode.bat"]
}



## Hyper Terminal

// for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
// by default ['--login'] will be used
shellArgs: ['--login', '/k', 'C:\\Code\\cmder\\vscode.bat'],

// for environment variables
env: {'ConEmuDir' : "C:\\Code\\cmder\\vendor\\conemu-maximus5"},