Setup brew and brew packages
npm install setup-brew> Setup brew and brew packages
``sh`
npm install --save setup-brew
The information about an installation result
Parameters:
- options (SetupBrewOptions)
returns: Promise
Get the path to the bin directory of brew
returns: string
Get the path where brew is installed
returns: "/opt/homebrew" | "/usr/local" | "/home/linuxbrew/.linuxbrew"
A function that installs a package using brew
Parameters:
- name (string) - The name of the packagestring
- version () - The version of the package (optional)BrewPackOptions`)
- options - The options for installing the package
- givenOptions (
returns: Promise
You can sponsor my work here:
https://github.com/sponsors/aminya
Pull requests, issues and feature requests are welcome.
See the Contributing guide.