Skip to content

stackbit/stackbit-cli

Repository files navigation

Stackbit CLI

Documentation

To learn more about Stackbit CLI please visit documentation

Install

npm install -g @stackbit/cli

Generate stackbit.yaml

To generate a new stackbit.yaml file, run the init command inside your project's root folder:

cd my-website
stackbit init

Validate stackbit.yaml

To validate stackbit.yaml and your website's content files against the content model defined in stackbit.yaml, run the validate command in project with stackbit.yaml:

stackbit validate