You might require admin rights to install it.

Faced that issue, running the command with sudo works.