For some reason, homebrew has stopped supporting direct installs of formulae.
I've tried to install a specific version of a package for testing purposes. koekeishiya/yabai#637
[2020-11-25 20:32:02] fiedl@fiedl-mbp ~
▶ brew install https://raw.githubusercontent.com/koekeishiya/homebrew-formulae/7a2b00e1c94793bf5bee6fc68b2449ec8f7213b5/yabai.rb
Traceback (most recent call last):
10: from /usr/local/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'
9: from /usr/local/Homebrew/Library/Homebrew/cmd/install.rb:132:in `install'
8: from /usr/local/Homebrew/Library/Homebrew/compat/cli/parser.rb:11:in `parse'
7: from /usr/local/Homebrew/Library/Homebrew/cli/parser.rb:277:in `parse'
6: from /usr/local/Homebrew/Library/Homebrew/cli/parser.rb:509:in `formulae'
5: from /usr/local/Homebrew/Library/Homebrew/cli/parser.rb:509:in `map'
4: from /usr/local/Homebrew/Library/Homebrew/cli/parser.rb:513:in `block in formulae'
3: from /usr/local/Homebrew/Library/Homebrew/formulary.rb:352:in `factory'
2: from /usr/local/Homebrew/Library/Homebrew/formulary.rb:139:in `get_formula'
1: from /usr/local/Homebrew/Library/Homebrew/formulary.rb:143:in `klass'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:228:in `load_file': Invalid usage: Installation of yabai from a GitHub commit URL is unsupported! 'brew extract yabai' to stable tap on GitHub instead. (UsageError)
13: from /usr/local/Homebrew/Library/Homebrew/brew.rb:150:in `<main>'
12: from /usr/local/Homebrew/Library/Homebrew/brew.rb:152:in `rescue in <main>'
11: from /usr/local/Homebrew/Library/Homebrew/help.rb:64:in `help'
10: from /usr/local/Homebrew/Library/Homebrew/help.rb:83:in `command_help'
9: from /usr/local/Homebrew/Library/Homebrew/help.rb:103:in `parser_help'
8: from /usr/local/Homebrew/Library/Homebrew/compat/cli/parser.rb:11:in `parse'
7: from /usr/local/Homebrew/Library/Homebrew/cli/parser.rb:277:in `parse'
6: from /usr/local/Homebrew/Library/Homebrew/cli/parser.rb:509:in `formulae'
5: from /usr/local/Homebrew/Library/Homebrew/cli/parser.rb:509:in `map'
4: from /usr/local/Homebrew/Library/Homebrew/cli/parser.rb:513:in `block in formulae'
3: from /usr/local/Homebrew/Library/Homebrew/formulary.rb:352:in `factory'
2: from /usr/local/Homebrew/Library/Homebrew/formulary.rb:139:in `get_formula'
1: from /usr/local/Homebrew/Library/Homebrew/formulary.rb:143:in `klass'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:228:in `load_file': Invalid usage: Installation of yabai from a GitHub commit URL is unsupported! 'brew extract yabai' to stable tap on GitHub instead. (UsageError)
I haven't found any documentation for a direct replacement and there seems to be quite some anger regarding this topic:
- Homebrew/brew#8791
- https://discourse.brew.sh/t/has-brew-install-force-formula-raw-path-been-taken-out/8793/6
[2020-11-25 20:52:53] fiedl@fiedl-mbp ~
▶ brew tap-new fiedl/yabai && brew extract --version 3.2.0 koekeishiya/homebrew-formulae/yabai fiedl/yabai && brew install fiedl/yabai/[email protected]
brew services start fiedl/yabai/[email protected]
Adopted from: https://discourse.brew.sh/t/has-brew-install-force-formula-raw-path-been-taken-out/8793/8