Reference
CLI reference
Every deframer command and option.
Run npx deframer@latest --help, or npx deframer@latest <command> --help, to see these in your terminal. create and sync build on the deframer server; everything else runs on your computer.
deframer create <url> [dir]
Build a published Framer site on the deframer server and put the Next.js project in a new folder. Guide
| Option | What it does |
|---|---|
--no-install | Do not install the project's packages. |
--start | Build for production and start the project on 127.0.0.1 (it keeps running). |
--verify | Start it and compare it with the published site. Needs npx playwright install chromium. |
--port <port> | Port for --start and --verify. Default 3000. |
--colors <file> | JSON file with the site's Framer color styles, for readable colour names. |
--json | Print the result as JSON, and progress as JSON lines on stderr. |
--server <url> | deframer server to use. Defaults to DEFRAMER_SERVER, then https://deframer.dev. |
deframer sync [dir]
Build the project's site again and update the folder. Files you edited are kept and listed. Guide
| Option | What it does |
|---|---|
--no-install | Do not install the project's packages. |
--start | Build for production and start the project on 127.0.0.1 (it keeps running). |
--verify | Start it and compare it with the published site. Needs npx playwright install chromium. |
--port <port> | Port for --start and --verify. Default 3000. |
--colors <file> | JSON file with the site's Framer color styles, for readable colour names. |
--json | Print the result as JSON, and progress as JSON lines on stderr. |
--server <url> | deframer server to use. Defaults to DEFRAMER_SERVER, then https://deframer.dev. |
deframer text <current> <new>
Change a text so it survives deframer sync. Picks the copy the page shows and saves it in content.overrides.json; run deframer sync next. Guide
| Option | What it does |
|---|---|
--dir <dir> | Project folder. Default: the current folder. |
--page <path> | Only change the text on this page, like / or /about. |
deframer skill
Print the deframer skill for AI coding agents. Guide
| Option | What it does |
|---|---|
--install | Install it for Claude Code (~/.claude/skills/deframer/SKILL.md). |
deframer verify <dir>
Compare a project with the published site in a browser on your computer. Guide
| Option | What it does |
|---|---|
--port <port> | Port of the running project. Starts it from its build when nothing listens. Default 3000. |
--json | Print the result as JSON. |
deframer login
Log this computer in to your account through your browser (Google sign-in). Guide
| Option | What it does |
|---|---|
--no-browser | Print the login link without opening a browser. |
--server <url> | deframer server to use. Defaults to DEFRAMER_SERVER, then https://deframer.dev. |
deframer logout
Log this computer out and end the login on the server.
| Option | What it does |
|---|---|
--server <url> | deframer server to use. Defaults to DEFRAMER_SERVER, then https://deframer.dev. |
deframer whoami
Show the logged-in account and its plan.
| Option | What it does |
|---|---|
--server <url> | deframer server to use. Defaults to DEFRAMER_SERVER, then https://deframer.dev. |
Environment variables
| Variable | What it does |
|---|---|
DEFRAMER_SERVER | deframer server to use when --server is not given. |
DEFRAMER_TOKEN | A login token, used instead of the login saved on this computer. |
DEFRAMER_NO_REPORTS | Set to 1 to never send failure reports. |