Installing effortlessly single-executable releases from GitHub projects
Grip is a CLI tool that downloads and installs single-executable directly from GitHub project releases.
For examlpe:
- github.com/restic/restic
- github.com/go-task/task
- github.com/ogham/exa
$ grip install github.com/restic/restic
This command will install restic in ~/.grip/bin/restic
.
Dont forget to add the grip bin path to your PATH
variable.
Alternatively you can set a diffrent path with the flag --destination
or -d
.
$ sudo grip install -d /usr/local/bin github.com/restic/restic
The project release must be a standalone executable.
Currently, only github.com is supported.
Supported package types:
tar.gz
tar.bz2
zip
tar.xz
bz2
The asset's filename must contain both the architecture and the operating system.
This tool is early stage. It might have issues, and some features are not there yet. I made this tool because I wanted an easy way to install CLI tools like restic, exa and more on my Linux and macOS computers directly from the project's website. Please be patient with its limits.
All contributions are warmly welcomed.