Cmder development-software installation and configuration

I. Overview

Using the Windows development environment, the cmd command line tool that comes with the system cannot meet your needs, and the appearance is not very popular, and some commands cannot be used normally. Cmder is an excellent command line tool that can replace Cmder and Powershell, and can support Git, which is very convenient to use. And there are many configuration items to choose from, you can create a tool that suits you, the following describes the installation and basic configuration of Cmder

<!--more-->

Two software download and installation

  • Enter Cmder official website to download, the official Mini and Full versions, the main difference is Full Git more functionality than the Mini version, you can download the corresponding version according to their needs.

     

 

  • After downloading codecs, after the completion of entering cmderdirectory, double-click cmder.exeto run the software.

     

Three software configuration

In order to improve the user experience, you can configure it according to your needs:

3.1 Set environment variables

Add the file path of cmder to the environment variable PATH

CMDER_HOME D:\SoftWare\cmder
%CMDER_HOME%

3.2 Add Cmder to the right-click menu (delete the right-click menu is UNREGISTER ALL)

Open cmd under administrator rights and enter the following command

Cmder.exe /REGISTER ALL
Cmder.exe /UNREGISTER ALL

 

3.3 Solve the Chinese garbled problem

  • In the lower right corner of Cmder +find Setup tasks, open the Settings window

     

  • Enter the Startup—>Environmentoption, fill in

    set LC_ALL=zh_CN.UTF8

     

3.4 Modify prompt

Opened in Cmder root directory vendor folder, open clink.lua file, the value of lambda is amended as $can be, and then open it again

local lambda = "$"

Guess you like

Origin blog.csdn.net/Calvin_zhou/article/details/108222776