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
brew update
and brew cask update
✅ brew doctor
was ok ✅ /usr/local/Library/Taps/caskroom/homebrew-cask/Casks
is outdated 🔴 $ git fetch --all && git reset --hard origin/master
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.
Most helpful comment
It's available if you install Homebrew Cask.