Should be `yarn global add semantic-git-commit-cli` If you use `add` before `global`, you will get the global dependency installed on the current project (and this dependency as well). 