pwsh
noun
say it: “PEE DUB-ul-yoo ES AYCH” /pi ˈdʌbəlju ɛs eɪtʃ/
The program name of PowerShell 7 on Windows, macOS and Linux; typing pwsh in a terminal starts PowerShell 7.
What is pwsh?
pwsh is the program name of PowerShell 7: pwsh.exe on Windows, pwsh on a Mac or Linux. Type it in any terminal to start PowerShell 7, and type exit to leave it. Windows PowerShell 5.1's program has a different name, powershell.exe.
pwsh # typed in zsh or bash; the prompt changes to PS
In a sentence
- “The shortcut runs pwsh, so it opens PowerShell 7 and not Windows PowerShell.”
- “On her Mac, Sam typed pwsh in the Terminal, and the prompt changed to PS.”
Level: Novice · More PowerShell terms at this level
Updated