| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
When using Git Bash, MINGW64, or other bash terminals, you get:
$ pxp
bash: pxp: command not foundPxp uses .bat (batch) files which only work in Windows Command Prompt and PowerShell. Bash terminals on Windows don't recognize .bat files as executable commands.
Simply switch to PowerShell or Command Prompt to run Pxp:
Then run your pxp commands normally.
Add this to your ~/.bashrc or ~/.bash_profile:
# Pxp alias for Git Bash
pxp() {
powershell.exe -ExecutionPolicy Bypass -File "C:/Program Files (x86)/Pxp/pxp.ps1" "$@"
}Note: Adjust the path if Pxp is installed elsewhere. Use forward slashes (/) instead of backslashes.
After adding the alias:
Now you can use pxp commands in Git Bash.
You can run Pxp directly from bash using PowerShell:
powershell.exe -ExecutionPolicy Bypass -File "C:/Program Files (x86)/Pxp/pxp.ps1" listCreate a bash function wrapper. Add to ~/.bashrc:
export PXP_HOME="/c/Program Files (x86)/Pxp"
alias pxp='powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$PXP_HOME/pxp.ps1"'After configuring, test with:
pxp --version| Back | FazBrowse Home | New Git URL |