For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Resources
Get started
ReferenceChangelog
ReferenceChangelog
  • Webflow CLI
    • Authentication
    • Configuration
    • Command reference
    • Migrating to CLI 2.0
LogoLogo
Resources
Get started
On this page
  • Node.js version
  • Upgrading
  • Renamed commands
Webflow CLI

Migrating to CLI 2.0

Upgrade guide for apps using the Webflow CLI.
Was this page helpful?
Previous
Built with

Webflow CLI 2.0 renames several commands and raises the Node.js minimum version. The commands from the previous version still work but emit deprecation warnings because they will be removed in a future version.

Node.js version

CLI 2.0 requires Node.js 22.13.0 or higher. Before upgrading, check your Node.js version:

$node --version

If it’s below 22.13.0, upgrade Node.js before proceeding.

Upgrading

Run this command to upgrade the Webflow CLI to version 2.0:

$npm install -g @webflow/webflow-cli@latest

Then, verify the version of the CLI by running this command:

$webflow --version

Renamed commands

These commands have been renamed. The commands work the same way and take the same options. Be sure to update scripts and CI to use the new commands.

Version 1 commandVersion 2 commandDescription
webflow library sharewebflow devlink importBundles and shares components with a Webflow Workspace
webflow library bundlewebflow devlink bundleBundles a Code Component library locally without sharing it to Webflow
webflow library logwebflow logShows the path to the latest log file
webflow cloud createwebflow cloud initInitializes a Webflow Cloud app from a template

For full options and examples, see the command reference.