ps-bash

bash but powershell

Screenshot of ps-bash

Real bash commands on Windows. No WSL, Git Bash, or Cygwin required.

PsBash transpiles bash to PowerShell β€” rm -rf, ls -la, grep -r, sort -k3 all work natively. Every command returns typed .NET objects while producing bash-identical text output. Includes a standalone shell binary that AI coding agents (Claude Code, OpenCode, GitHub Copilot) can use as a drop-in bash replacement.

Full powershell power, syntax a human can use.

Copilot says: AI-generated

Finally, bash commands that actually work on Windows without hacks, translating your favorite Linux-y tools into native PowerShell magic with typed objects and real flag supportβ€”your pipelines just got a serious glow-up!

Key features:

  • πŸ”₯ Real bash commands natively on Windows without WSL or Cygwin
  • ⚑ Commands return rich typed .NET objects for powerful scripting
  • 🎯 Full support for bash flags like rm -rf, ls -la, grep -r, sort -k3
  • πŸ› οΈ Includes standalone shell binary and PowerShell module for flexible use

This summary was generated by GitHub Copilot based on the project README.