🚀 Add your favorite CLI tools to Windows 11 right-click context menu with a single click
Quick access to PowerShell, GitHub Copilot, Claude AI, and Git from any folder in Windows Explorer.
Created by droltr
- 🔧 PowerShell Here - Launch PowerShell 7 in current directory
- 🤖 Copilot Here - Start GitHub Copilot CLI
- 🧠 Claude Here - Launch Claude AI CLI
- 📦 Git Init Here - Initialize Git repository
- 🎯 Smart Detection - Automatically finds tools in PATH, NPM global, and custom locations
- 🔄 Easy Management - Interactive menu for Install/Uninstall/Reinstall
- 🛡️ Safe - Only modifies HKCU registry (user-level, no system changes)
- Windows 11 (or Windows 10)
- PowerShell 7+ (or Windows PowerShell 5.1)
- Administrator rights
- At least one CLI tool installed
- Download the project files
- Run
Menu.batas Administrator - Select option
[1] Install Menu - Done! Right-click in any folder to see "CLI Tools"
.\Install-CLIContextMenu.ps1Menu.batOptions:
- [1] Install Menu - Add CLI tools to context menu
- [2] Uninstall Menu - Remove from context menu
- [3] Reinstall Menu - Refresh menu items
- [4] Check Tools - Verify installed tools
- Open File Explorer
- Navigate to any folder
- Right-click in empty space
- Select "CLI Tools"
- Choose your tool
| Tool | Detection | Example Path |
|---|---|---|
| PowerShell 7 | pwsh.exe |
C:\Program Files\PowerShell\7\pwsh.exe |
| GitHub Copilot | copilot command |
%LOCALAPPDATA%\Microsoft\WinGet\Links\copilot.exe |
| Claude CLI | NPM global | %APPDATA%\npm\claude.cmd |
| Git | git.exe |
C:\Program Files\Git\cmd\git.exe |
# PowerShell 7
winget install Microsoft.PowerShell
# GitHub Copilot CLI
winget install GitHub.GitHubCopilotCLI
# Claude CLI
npm install -g @anthropic-ai/claude-cli
# Git
winget install Git.GitMenu.bat
# Select [2] Uninstall Menu.\Install-CLIContextMenu.ps1 -UninstallHKCU:\Software\Classes\Directory\Background\shell\CLITools
- PowerShell:
pwsh.exe -NoExit -Command "Set-Location '%V'" - Copilot:
pwsh.exe -NoExit -Command "Set-Location '%V'; copilot" - Claude:
cmd.exe /k "cd /d "%V" & claude" - Git Init:
pwsh.exe -NoExit -Command "Set-Location '%V'; git init; git status"
- ✅ HKCU registry only (user-level)
- ✅ No system-wide changes
- ✅ Open source code
- ✅ No data collection
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserStop-Process -Name explorer -ForceGet-Command copilot -ErrorAction SilentlyContinue- Initial public release
- Smart tool detection
- Interactive menu manager
- Support for 4 CLI tools
- Tested and confirmed working
See CHANGELOG.md for details.
Contributions welcome! Feel free to submit issues or pull requests.
MIT License - see LICENSE file.
Created by droltr
Inspired by the need for quick CLI access in Windows 11.
Made with ❤️ for Windows CLI enthusiasts