>>> Command not found: prismic <<<

Hi there I installed prismic-cli using.

yarn add global prismic-cli

But I am getting this error when I run prismic command.

zsh: command not found: prismic

Screenshot from 2021-09-16 15-46-49

Please help me regarding this issue.

Hey @sohaibraza000, welcome to the community

It seems like it could be one of two things. Either the current path of your command line isn't finding the correct location of the common utilities that you install or you didn't have the permits to install a package in your machine globally

The last one is usually solved by running sudo at the beginning of the command. Just keep in mind that any time sudo is used, it means something was misconfigured. So, it's recommended that you take a look at your command line config before running commands like this.

This thread has been closed due to inactivity. Flag to reopen.