Command Reference
Global Options
Global options can be used with any command.
Authentication
auth login
Authenticates the CLI with your Webflow account.
Usage
This command opens your browser to complete authentication. For more details, see the authentication documentation.
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 sync
Syncs components from your Webflow site to your local project.
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