deframer

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

OptionWhat it does
--no-installDo not install the project's packages.
--startBuild for production and start the project on 127.0.0.1 (it keeps running).
--verifyStart 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.
--jsonPrint 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

OptionWhat it does
--no-installDo not install the project's packages.
--startBuild for production and start the project on 127.0.0.1 (it keeps running).
--verifyStart 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.
--jsonPrint 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

OptionWhat 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

OptionWhat it does
--installInstall 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

OptionWhat it does
--port <port>Port of the running project. Starts it from its build when nothing listens. Default 3000.
--jsonPrint the result as JSON.

deframer login

Log this computer in to your account through your browser (Google sign-in). Guide

OptionWhat it does
--no-browserPrint 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.

OptionWhat 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.

OptionWhat it does
--server <url>deframer server to use. Defaults to DEFRAMER_SERVER, then https://deframer.dev.

Environment variables

VariableWhat it does
DEFRAMER_SERVERdeframer server to use when --server is not given.
DEFRAMER_TOKENA login token, used instead of the login saved on this computer.
DEFRAMER_NO_REPORTSSet to 1 to never send failure reports.