Homebrew
brew install example/tap/sprig
From source
go install github.com/example/sprig@latest
Hook your shell
Add one line to your shell rc:
# bash / zsh
eval "$(sprig init bash)"
# fish
sprig init fish | source
That’s it. New commands are tagged starting at the next prompt.