composer create-project --no-dev andkirby/commithook /path/to/commithook/ ~2.0@beta
And path to binary file will be:
$ /path/to/commithook/bin/commithook list
You may add alias in your .bashrc
file.
alias commithook='/path/to/commithook/bin/commithook'