A simple replacement for homebrew for installing binary packages on MacOS written in Go.
I built Kelp to scratch my own itch:
- No waiting for a formula to become available on homebrew
- Keep all your computers up to date with a single installation manifest
- Install multiple packages at one time (coming soon...)
Go to the releases page. Download the latest release
kelp doctor
-
Initialize Kelp
kelp init
-
Add kelp binary path to your PATH
export PATH=~/.kelp/bin/:$PATH
-
Add a new package
kelp add ogham/exa
To use a specific version other than latest use the
-r
flag. Where-r
is the github release versionkelp add -r 1.0.0 ogham/exa
-
Install
kelp install exa
or add
-i
duringkelp add
kelp add -i ogham/exa
-
Upgrade to a new version manually
kelp set -r 1.0.1 exa
kelp install exa
-
Check for a new version
kelp update exa
kelp install exa
orkelp update -i exa
It downloads all github releases packages defined in the config file ~/.kelp/kelp.json
to ~/.kelp/bin
.
Either use the --config flag or KELP_CONFIG
environment variable
Flags:
-c, --config string path to kelp config file (default "/Users/username/.kelp/kelp.json")
Easy. Just add the http(s) link to the binary
ie:
kelp add -r https://releases.hashicorp.com/terraform/0.11.13/terraform_0.11.13_darwin_amd64.zip hashicorp/terraform
Use inspect to open the cache and bin directories for your package
kelp inspect
Kelp looks for binaries made for MacOS, if it finds a binary for linux or windows it will skip downloading it.
To see what binaries exist use:
kelp doctor
If your binary has a different filename than the name of the Github project, kelp doctor may not find it. To give it a hint you can add the name of the binary to the kelp config
kelp set -b "jira" jira-cli
To see whats in your config use:
kelp ls
Not yet
Set a github token environment variable
export GITHUB_TOKEN="XYZ"
If you find bugs, please open an issue first. If you have feature requests, I probably will not honor it because this project is being built mostly to suit my personal workflow and preferences.