You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Distribute OSX release as a Homebrew formula #1779
As a devops type nerd, I want to be able to install and update PowerShell/OSX via the CLI, and also with my preferred packaging tool, namely Homebrew (http://brew.sh).
Yes, the the OSX native installer packages (.pkg) can be installed via CLI (with the installer command), but it requires sudo. AFAICT, PowerShell is installed to /usr/local/bin and does not require sudo at all otherwise.
Homebrew is basically the de-facto CLI package manager on OSX like choco.exe is on Windows. It does not require sudo for packages to be installed.
Reacted by Rob Reynolds, Blake Niemyjski, Bobby Johnson, Luke Channings, Dustin Venegas, Ashley Stanton-Nurse, Ahmet Alp Balkan, Andy Jordan, Keenan Brock, Nate McMaster and 13 more
Haha, I see in /docs/building/osx.md that it has many references to Homebrew and uses it as part of the prerequisite installs, so maybe this issue is already done--but can't be turned on until the PowerShell/PowerShell repo is public?
This would be awesome. I'd jump in to build the formula but I don't want to stomp on a possible official homebrew tap. I hope we can get this soon! I want brew install powershell :)
Reacted by Ahmet Alp Balkan, Brian Ward, Nate McMaster and Trevor Sullivan
Keep in mind that we probably need https://github.com/dotnet/cli/issues/533 too (at least to do it right! in the short term we can install dotnet locally to build).
Reacted by Ashley Stanton-Nurse, Brian Ward, Hal Rottenberg, Sean McLellan and Mateusz Piotrowski
Joey Aiello (@joeyaiello) I just tried a brew cask reinstall powershell and it gave me v6.0.0-beta.1. Something is not properly automated. I would dig in but no time to do so ATM.
Activity
halr9000 commentedon Aug 12, 2016
Haha, I see in /docs/building/osx.md that it has many references to Homebrew and uses it as part of the prerequisite installs, so maybe this issue is already done--but can't be turned on until the PowerShell/PowerShell repo is public?
niemyjski commentedon Aug 18, 2016
I'd also love to install via brew! I'm going to hold off installing until I can install via brew (so easy to update brew packages)!
analogrelay commentedon Aug 18, 2016
This would be awesome. I'd jump in to build the formula but I don't want to stomp on a possible official homebrew tap. I hope we can get this soon! I want
brew install powershell:)andyleejordan commentedon Aug 18, 2016
Keep in mind that we probably need https://github.com/dotnet/cli/issues/533 too (at least to do it right! in the short term we can install dotnet locally to build).
luzlab commentedon Apr 28, 2017
Currently,
brew cask install powershellworks. I haven't done much testing, but it just downloads the .pkg and runs it.joeyaiello commentedon May 22, 2017
Given this has the most 👍's of any issue, I'm going to fix our install instructions today to make it more obvious how to do this.
halr9000 commentedon Jun 29, 2017
Joey Aiello (@joeyaiello) I just tried a
brew cask reinstall powershelland it gave me v6.0.0-beta.1. Something is not properly automated. I would dig in but no time to do so ATM.