Having trouble with the CLI?

Having trouble with the CLI?

If your having trouble with the prismic-cli when running commands like prismic theme or prismic sm --create-slice

Then this might be to do with the authentication update. You will need to get the latest token from the server, to trigger this run: prismic logout in your terminal then to login again run: prismic login.

This solves most of the temporary authentication issues. If this doesn't work for you, create a new topic and tell us about your case.


For any Slicemachine users make sure you have the latest version of the prismic-cli. To update it, run:

npm install --global prismic-cli@3.8.3-beta.0

We're actively maintaining the CLI and hope to have some prompts in the CLI for this soon, thank you for your comprehension! :star2: