Command Reference
Global Options
Global options can be used with any command.
Authentication
auth login
Authenticates the CLI with your Webflow account and saves credentials to a .env file.
Usage
Options
Example
For more details, see the authentication documentation.
auth status
Shows the currently authenticated user and active OAuth scopes.
Usage
Example
auth logout
Removes the stored session and logs out of the CLI.
Usage
Example
auth telemetry
Manages telemetry settings for all Webflow CLI commands.
Usage
Options
Example
Sites
sites list
Lists all sites in your Webflow workspace.
Usage
Options
Example
sites get
Gets details for a specific site.
Usage
Arguments
Options
Example
sites domains
Lists the custom domains configured for a site.
Usage
Options
Example
sites publish
Publishes a site to the Webflow subdomain or to specific custom domains.
Usage
Options
Example
CMS
cms collections list
Lists all CMS collections for a site.
Usage
Options
Example
cms collections get
Gets the details and field schema for a CMS collection.
Usage
Arguments
Options
Example
cms collections create
Creates a new CMS collection on a site.
Usage
Options
Example
cms fields create
Adds a field to a CMS collection.
Usage
Options
Valid field types
PlainText, RichText, Number, DateTime, Link, Image, Video, Color, Bool, Option, ItemRef, ItemRefSet
Example
cms items list
Lists items in a CMS collection.
Usage
Options
Example
cms items get
Gets a single CMS item by ID.
Usage
Options
Example
cms items create
Creates a new CMS item.
Usage
Options
Example
cms items update
Updates an existing CMS item.
Usage
Options
Example
cms items delete
Deletes a CMS item.
Usage
Options
Example
cms items publish
Publishes one or more CMS items.
Usage
Options
Example
Forms
forms list
Lists all forms for a site.
Usage
Options
Example
forms submissions
Lists submissions for a specific form. Supports JSON output and CSV export.
Usage
Options
Example
Assets
assets list
Lists assets for a site, with optional filtering and sorting.
Usage
Options
Example
assets upload
Uploads a file as a site asset.
Supported file types
- Images (≤ 4 MB): PNG, JPG, JPEG, GIF, SVG, WEBP, AVIF
- Documents (≤ 10 MB): PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT, CSV, ODT, ODS, ODP, JSON, Lottie
Usage
Arguments
Options
Example
assets update
Updates an asset’s metadata.
Usage
Arguments
Options
Example
assets folders
Lists asset folders for a site.
Usage
Options
Example
assets folders create
Creates a new asset folder.
Usage
Options
Example
Code Components
library share
Bundles and shares your Code Component library with a Webflow Workspace.
Usage
Options
Example
library bundle
Bundles a library of Code Components locally to a dist directory. This command does not share the library to Webflow.
Usage
Options
Example
library log
Displays the directory and path to the latest log file.
Usage
Webflow Cloud
cloud init
Initializes a new Webflow Cloud project from a template.
Usage
Options
Example
cloud list
Lists available project templates for cloud init.
Usage
cloud deploy
Deploys your project to Webflow Cloud.
Usage
Options
Configuration for CI/CD pipelines
When used together, --env and --mount enable non-interactive deployments suitable for CI/CD pipelines. You can also use
--auto-publish to publish the site after deployment so that your new environment is live.
This will deploy the project to the environment named “production” and mount it at /app, and then publish the site so that your new environment is live.
DevLink
devlink export
Exports Webflow components from your site as a static, self-contained local React bundle.
Usage
Options
Example
Designer Extensions
extension list
Lists available templates for extension init.
Usage
extension init
Initializes a new Designer Extension project from a template.
Usage
Arguments
Example
extension bundle
Bundles your Designer Extension into a bundle.zip file for upload.
Usage
extension serve
Serves your Designer Extension on a local development server.
Usage
Arguments