The Unoff CLI (@unoff/cli) scaffolds a complete Figma or Penpot plugin project (Preact + Vite, TypeScript, hot reload, and the @unoff/ui component library) in a single command.


Step 1 — Install the CLI globally

npm install -g @unoff/cli

Or use with npx (no installation required):

npx @unoff/cli create figma-plugin

Step 2 — Scaffold the project

# Interactive mode — will prompt for all configuration
unoff create figma-plugin

# Penpot plugin
unoff create penpot-plugin

# Custom output directory
unoff create figma-plugin --dir ./my-projects

Available platforms

Interactive prompts

The CLI will ask for: