Global options can be used with any command.
auth loginAuthenticates the CLI with your Webflow account and saves credentials to a .env file.
Usage
Options
Example
For more details, see the authentication documentation.
auth statusShows the currently authenticated user and active OAuth scopes.
Usage
Example
auth logoutRemoves the stored session and logs out of the CLI.
Usage
Example
auth telemetryManages telemetry settings for all Webflow CLI commands.
Usage
Options
Example
sites listLists all sites in your Webflow workspace.
Usage
Options
Example
sites getGets details for a specific site.
Usage
Arguments
Options
Example
sites domainsLists the custom domains configured for a site.
Usage
Options
Example
sites publishPublishes a site to the Webflow subdomain or to specific custom domains.
Usage
Options
Example
cms collections listLists all CMS collections for a site.
Usage
Options
Example
cms collections getGets the details and field schema for a CMS collection.
Usage
Arguments
Options
Example
cms collections createCreates a new CMS collection on a site.
Usage
Options
Example
cms fields createAdds 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 listLists items in a CMS collection.
Usage
Options
Example
cms items getGets a single CMS item by ID.
Usage
Options
Example
cms items createCreates a new CMS item.
Usage
Options
Example
cms items updateUpdates an existing CMS item.
Usage
Options
Example
cms items deleteDeletes a CMS item.
Usage
Options
Example
cms items publishPublishes one or more CMS items.
Usage
Options
Example
forms listLists all forms for a site.
Usage
Options
Example
forms submissionsLists submissions for a specific form. Supports JSON output and CSV export.
Usage
Options
Example
assets listLists assets for a site, with optional filtering and sorting.
Usage
Options
Example
assets uploadUploads a file as a site asset.
Supported file types
Usage
Arguments
Options
Example
assets updateUpdates an asset’s metadata.
Usage
Arguments
Options
Example
assets folders listLists asset folders for a site.
Usage
Options
Example
assets folders createCreates a new asset folder.
Usage
Arguments
Options
Example
devlink importBundles and shares components with a Webflow Workspace.
Usage
Options
Example
devlink bundleBundles components locally to a dist directory.
This command doesn’t share the components to Webflow.
Usage
Options
Example
logDisplays the directory and path to the latest log file.
Usage
cloud createwebflow cloud create is deprecated. Use webflow cloud init instead, which supports both site-attached and standalone apps and lets you choose the mount path interactively or via --mount.
Scaffolds a new site-attached Webflow Cloud project non-interactively. The project mounts at /app with no option to override the mount path.
Usage
Arguments
Options
Example
cloud initInitializes a new Webflow Cloud app from a template.
Usage
Options
--site-id and --workspace-id are mutually exclusive
Use --site-id to connect to an existing site, or --workspace-id with --new to create a project app in a specific workspace. Passing both will error.
Example
cloud listLists available app templates for cloud init.
Usage
cloud deployDeploys your app to Webflow Cloud.
Usage
Options
--site-id and --workspace-id are mutually exclusive
Use --site-id to deploy site-attached, or --workspace-id to deploy a project app in a specific workspace. Passing both will error.
Before deploying, the CLI resolves the target app in this order:
--site-id flag → site-attached deploy.--workspace-id flag → project-app deploy.siteId in webflow.json → site-attached deploy.cloud.workspace_id in webflow.json → project-app deploy.WEBFLOW_SITE_ID environment variable → site-attached deploy.--no-input is set.For non-interactive deployments suitable for CI/CD pipelines, pass --no-input along with both --mount and --environment, plus an explicit target — either --site-id for site-attached deploys or --workspace-id for project apps. You can also use --auto-publish to publish the site after deployment so that your new environment is live.
The deploy prompts (select an existing project, name a new project, pick an environment) are gated on whether --mount and --environment are both set — not on --no-input. Passing --no-input without both flags still fires the prompt and hangs in non-TTY contexts. The minimum safe CI form is --no-input --mount <path> --environment <env> --site-id <id> (or --workspace-id <id> for a project-app first deploy).
devlink syncwebflow devlink sync is deprecated. Use webflow devlink export instead.
Syncs Webflow components to your local filesystem. When run without arguments, all components are synced.
Usage
Arguments
Options
Example
devlink importImports a library of Code Components into your Webflow Workspace.
Usage
Options
Example
devlink bundleBundles a library of Code Components locally to a dist directory. This command doesn’t import the library into Webflow.
Usage
Options
Example
devlink exportExports Webflow components from your site as a static, self-contained local React bundle.
Usage
Options
Example
devlink syncSyncs Webflow components to your filesystem.
Usage
Arguments
Options
Example
extension listLists available templates for extension init.
Usage
extension initInitializes a new Designer Extension from a template.
Usage
Arguments
Both arguments are optional — the CLI prompts for any that are not provided.
Example
extension bundleBundles your Designer Extension into a bundle.zip file for upload.
Usage
extension serveServes your Designer Extension on a local development server.
Usage
Arguments