To learn more about Stackbit CLI please visit documentation
npm install -g @stackbit/cli
To generate a new stackbit.yaml
file, run the init
command inside your project's root folder:
cd my-website
stackbit init
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