New: move an existing site in one prompt →
Docs menu

Docs Code and publishing

Content from the command line

Bulk imports and scripts, without MCP.

The hettie command can read and change content directly. Handy for importing lots of posts at once.

npx hettie login --url https://my-blog.hettie.dev
npx hettie content list posts --url https://my-blog.hettie.dev
npx hettie content create posts --file post.json --url https://my-blog.hettie.dev
npx hettie media upload ./cover.jpg --url https://my-blog.hettie.dev

Without --url, commands talk to the copy running on your computer with hettie dev.

content create publishes straight away. Add --draft to keep it as a draft.

Run npx hettie <command> --help for every option. All commands are in the CLI reference.