https://github.com/sagikazarmark/binbrew
Homebrew, but with binaries
https://github.com/sagikazarmark/binbrew
Last synced: 4 months ago
JSON representation
Homebrew, but with binaries
- Host: GitHub
- URL: https://github.com/sagikazarmark/binbrew
- Owner: sagikazarmark
- License: mit
- Created: 2019-01-06T07:17:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-24T12:30:08.000Z (over 6 years ago)
- Last Synced: 2025-04-02T13:50:07.526Z (6 months ago)
- Language: Go
- Size: 87.9 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Binbrew
[](https://github.com/sagikazarmark/binbrew)
[](https://circleci.com/gh/sagikazarmark/binbrew)
[](https://goreportcard.com/report/github.com/sagikazarmark/binbrew)
[](https://golangci.com/r/github.com/sagikazarmark/binbrew)
[](https://godoc.org/github.com/sagikazarmark/binbrew)Binbrew installs pre-built binary dependencies (from Github).
It's primary use case is to help setting up development environments and
allow to use the same tools in CI environments as well.## Installation
Add the following to your installation scripts:
```bash
export BINBREW_VERSION=0.1.0
curl -sfL https://git.io/binbrew | bash -s -- -b ./bin/ v${BINBREW_VERSION}
```To install the latest version simply omit the version:
```bash
curl -sfL https://git.io/binbrew | bash -s -- -b ./bin/
```*Note:* Binbrew is still under heavy development, so it's recommended to lock onto a specific version.
Use it in your Makefile:
```makefile
BINBREW_VERSION = 0.1.0
bin/binbrew: bin/binbrew-${BINBREW_VERSION}
@ln -sf binbrew-${BINBREW_VERSION} bin/binbrew
bin/binbrew-${BINBREW_VERSION}:
@mkdir -p bin
curl -sfL https://git.io/binbrew | bash -s -- -b ./bin/ v${BINBREW_VERSION}
@mv bin/binbrew $@
```## Quick start
In order to install binaries run the following command:
```bash
binbrew install dep@0.5.0
```You can install multiple binaries with a single command:
```bash
binbrew install dep@0.5.0 protoc@3.6.1
```## Usage
```
Binary installerUsage:
binbrew [command]Available Commands:
help Help about any command
install Install one or more binariesFlags:
-h, --help help for binbrew
--version version for binbrewUse "binbrew [command] --help" for more information about a command.
```## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.