3 ms·
PowerShell.[0] We have used it years on Linux in production. I would assume the MacOS version is just as first class as the Linux version. We are not using to
by bblb 4y ago
PowerShell.[0]
We have used it years on Linux in production. I would assume the MacOS version is just as first class as the Linux version. We are not using to replace Bash as a login shell, not just yet, but a simple pwsh-command and boom, welcome to the future where you're not tied to the 50 year old antiquated idea of 'everything is a file' and it's 40 year old codebase. PowerShell is just a shell for dotnet, so you could say it's idea is 'everything is an object'. For example, JSON is just a datatype in PowerShell world. You don't need jq and it's horrible syntax.
Sorry if that's too confrontational, but I've been using PowerShell as my daily driver for the past 17 years, and Bash+grep+whatnot feels just as antiquated as cmd.exe.
[0] https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-macos https://learn.microsoft.com/en-us/powershell/scripting/insta...
- 13of40 4y agoTrust me, I love PowerShell (disclaimer that I worked on it) but in MacOS it's an add-on not a first class citizen, and I think there are fundamental principles that can be picked up by other shells. In fact, the PowerShell cmdlets are expressive enough in their metadata that they can be run by other shells easily.