Powershell: Add PowerShell to Homebrew

Created on 18 Aug 2016  Â·  5Comments  Â·  Source: PowerShell/PowerShell

Homebrew is the standard community-developed and -supported package manager for OS X. It would be awesome to be able to brew install powershell.

Resolution-Duplicate Resolution-External

Most helpful comment

It's available if you install Homebrew Cask.

brew tap caskroom/cask
brew cask install powershell

All 5 comments

It's available if you install Homebrew Cask.

brew tap caskroom/cask
brew cask install powershell

Duplicate of #1779.

brew told me to use:
brew install Caskroom/cask/powershell

edit: and it worked!

Not working for me :/
# 'brew install Caskroom/cask/powershell'
==> brew cask install Caskroom/cask/powershell
Error: No available Cask for Caskroom/cask/powershell
Error: nothing to install

same problem here for me @amuessig but : seems to be a brew problem at all

P.S: the known bug is documented right on the brew site's README:

Update Bug

If Homebrew was updated on Aug 10-11th 2016 and brew update always says Already up-to-date. you need to run:

cd $(brew --repo); git fetch; git reset --hard origin/master; brew update

btw. to all that "use brew cask" callers: cask is not a solution to some of us but simple and helpful for others. It (cask brew formular) more or less just takes down the huddle for you to download, verify the signature, run the installer, cleanup after uninstall. It doesn't do any recompile. It needs to re-download the complete package anytime.

Was this page helpful?
0 / 5 - 0 ratings