Skip to content

Installation Guidelines ​

You can install UltraHooks globally on your system, or compile it from source for your specific repository.


To install the latest compiled binary of UltraHooks straight to your path and automatically set up shell auto-completions, run our remote installer (supports macOS, Linux, and Windows).

bash
curl -sSL https://raw.githubusercontent.com/nyambogahezron/ultrahooks/main/install.sh | bash

Verify Installation:

bash
ultrahooks --version

(If the command is not found, ensure /usr/local/bin is in your $PATH.)


Option 2: Compile from Source (Go Developers) ​

If you have Go installed on your machine (1.21+), you can globally install the binary directly from GitHub using go install:

bash
go install github.com/nyambogahezron/ultrahooks@latest

Ensure your Go bin/ directory (usually ~/go/bin) is included in your $PATH.


Option 3: Local Repository Building ​

If you have cloned this repository and wish to build it manually for local testing or contribution, use the local installer. It automatically detects your OS and compiles UltraHooks directly to your Local Bin path:

bash
git clone https://github.com/nyambogahezron/ultrahooks
cd ultrahooks
./local_install.sh