Install the resaiz CLI
resaiz makes ad statics and motion in every size from one master design. The resaiz command lets you, or Claude Code, build and resize ads from the terminal with the same engine and the same pixels as the editor.
Needs Node.js 20 or newer. Renders and exports use the Google Chrome already on the computer. Nothing else: no repository to clone, no other tool to install.
Install
Any computer with npm
npm install -g resaizFrom the npm registry (npmjs.com/package/resaiz), with Node.js 20 or newer.
macOS, Linux, WSL, without the registry
curl -fsSL https://www.resaiz.com/install.sh | shWindows PowerShell, without the registry
npm install -g https://www.resaiz.com/cli/resaiz-0.1.1.tgzThe same package served from this site. The script checks Node, downloads the package from this site, verifies its sha256 against latest.json and installs it with npm. You can read it first.
After a successful install the script and resaiz login each add one to an anonymous daily count (nothing about your computer is sent); set RESAIZ_NO_COUNT=1 to skip it.
Sign in, once per computer
resaiz loginYour browser opens resaiz. Sign in there if needed and click Authorize. The computer keeps its own session and renews it by itself, so you do not sign in again unless you run resaiz logout. Editing and rendering work without an account; only the cloud commands need one.
resaiz whoami shows the account, its workspaces and what you may do in each.
No browser on that machine (a server, a remote shell)? resaiz login --email you@company.com sends the sign in email and takes the code.
Teach Claude Code
resaiz skill installCopies the resaiz skill to ~/.claude/skills/resaiz. Then say, in Claude Code:
make a 970x250 banner for our spring sale and render itConnect as MCP
For Claude Desktop or any MCP client: resaiz mcp serves every command as a tool, and renders and sheets come back as images Claude can see. In Claude Desktop, add this to claude_desktop_config.json:
{
"mcpServers": {
"resaiz": { "command": "resaiz", "args": ["mcp", "--dir", "/path/to/folder"] }
}
}Claude Code
claude mcp add resaiz -- resaiz mcp --dir /path/to/folderIn Claude Code the skill and the shell are enough; the MCP server is for clients without a shell.
Or drive it yourself
resaiz new --size 1080x1920 --name "Spring sale"
resaiz el add headline --text "Spring sale"
resaiz pic add ./product.png --role product
resaiz size add 300x250 728x90 970x250
resaiz qa --pixels
resaiz render
resaiz cloud pushresaiz --help lists every command. The full guide is the CLI README.
If you are an AI agent
To install resaiz for the person you are working with, run the install line for their system above, then resaiz login (it prints a link and waits while they click Authorize), then resaiz skill install. Machine readable instructions: https://www.resaiz.com/llms.txt. Package facts: https://www.resaiz.com/cli/latest.json.
Update, check, remove
| Update | Run the install line again. |
|---|---|
| Check | resaiz --version, resaiz whoami |
| Remove | resaiz logout then npm uninstall -g resaiz |