Skip to content

nikitabobko/brew-install-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

brew-install-path

Homebrew 4.6.4 introduced a breaking change that disabled the possibility of installing formulas/casks from paths.

The official workaround is to create a local tap and move your ruby file there, which is obnoxious to do manually every time. brew-install-path automates this by allowing you to install local paths in one command.

Installation

brew install nikitabobko/tap/brew-install-path

Usage

After installing brew-install-path, you can do the following:

brew install-path ./formula-or-cask.rb
brew ip ./formula-or-cask.rb

Formulas/Casks installed by brew-install-path are no different from other formulas/casks and can be uninstalled as usual by brew uninstall.

Synopsis

Usage: brew install-path [-h|--help] [-v|--version] [--cask|--formula] [OTHER_OPTIONS]... [--] <PATH>...

Options:
  -h, --help               Print this help and exit
  -v, --version            Print version and exit
  --cask                   Treat all named arguments as casks
  --formula, --formulae    Treat all named arguments as formulas

All other options are forwarded to 'brew install'

About

Simple script that allows installing homebrew formulas/casks from paths

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages