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

Docs Code and publishing

Sites and sign-in

Your account, your sites, and which folder goes where.

Sign in

npx hettie auth login

Opens your browser with a short code. Check it, approve, and the command line is signed in. There's no token to copy. hettie auth status shows who you are; hettie auth logout signs out.

Your sites

npx hettie sites

Lists your sites, their addresses and live version. The site linked to this folder is marked with ▶. The same list is at app.hettie.dev under My sites.

New site

npx hettie new <name> makes the site, downloads its template into a new folder and links them. To link a folder you already have:

npx hettie sites create my-blog

The link lives in .hettie/cloud.json, which Hettie adds to .gitignore.

In CI or scripts

Set HETTIE_CLOUD_TOKEN and the CLI uses it instead of the browser sign-in.