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/resticThis 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/resticThe project release must be a standalone executable.
Currently, only github.com is supported.
Supported package types:
tar.gztar.bz2ziptar.xzbz2
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.
