Powershell: Mac version doesn't work at all

Created on 3 Dec 2017  Â·  7Comments  Â·  Source: PowerShell/PowerShell

This is really broken:

  1. Install Powershell from brew cask install powershell (or manually using the pkg)

Expected: you can run the powershell command to start a powershell session

Observed: command not found

Awesome!!!

Steps to reproduce


Expected behavior


Actual behavior


Environment data

> $PSVersionTable

Issue-Question Resolution-Answered

Most helpful comment

The powershell binary is renamed from "powershell" to "pwsh".

All 7 comments

This is using the latest version of Mac OS X High Sierra

The powershell binary is renamed from "powershell" to "pwsh".

Why would you create an undocumented breaking change like that?


Sent from phone

On Dec 3, 2017, at 12:35 AM, javaptgl notifications@github.com wrote:

The powershell binary is renamed from "powershell" to "pwsh".

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It is important to point out too that if you have an old version of PowerShell that is launched with powershell and you install the new version, as pwsh, the old version is not removed so if you type powershell then you're not getting the latest installed version.

Bug trackers and release pages don't count as documentation. The main docs don't make this clear.

There are a lot of web pages that say type "powershell".

@AndrewBragdon Right now, PowerShell Core is only in RC, it's not even in GA. The only way to reliably follow changes in pre-release software is the change log and release notes, where this change is documented in both. If you look at the PowerShell-Docs repo, you can see this change has been documented in the "official documentation" but hasn't been published. Also, it is extremely likely that when PowerShell Core 6.0.0 is released, this change will be prominently documented and communicated.

Was this page helpful?
0 / 5 - 0 ratings