git clone https://github.com/example/genp.git cd genp make sudo make install Verify with:
genp --version sudo curl -L https://github.com/example/genp/releases/latest/download/genp-linux-amd64 -o /usr/local/bin/genp sudo chmod +x /usr/local/bin/genp For macOS, replace linux-amd64 with darwin-amd64 . Method 4: Using go install (if written in Go) go install github.com/example/genp@latest Make sure $GOPATH/bin is in your PATH . Quick Test After Installation Generate a random password: genp installation
genp 16 Generate an API key:
Happy generating!