mridgers/clink
FreeBash's powerful command line editing in cmd.exe
About mridgers/clink
Clink is an open-source tool that combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, best known from Bash. It provides rich completion, history, and line-editing capabilities to the Windows command prompt, including contextual completion for executables, directory commands, environment variables, and third-party tools like Git, Mercurial, SVN, Go, and P4. Clink also supports scriptable completion via Lua, a coloured and scriptable prompt, keyboard shortcuts (e.g., Ctrl-V for paste, Ctrl-R/Ctrl-S for incremental history search, Ctrl-PgUp for automatic 'cd ..'), history persistence between sessions, and auto-answering of the 'Terminate batch job?' prompt. Distributed under the GPL-3.0 license.
Key Features
Pros & Cons
- Brings powerful Bash Readline editing to native Windows cmd.exe
- Open source and free under GPL-3.0
- Extensible via Lua scripting for custom completions and prompt filtering
- Context-sensitive completion supports many common tools out of the box
- Persistent command history across sessions
- Only works with cmd.exe, not PowerShell or other Windows shells
- Last release was in December 2017 and repository may not be actively maintained
- Requires installation and configuration to use (not pre-installed)
- May conflict with existing cmd.exe customisations or third-party prompt tools