> This page is for Webflow CLI.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# Migrating to CLI 2.0

> Upgrade your app from Webflow CLI 1.x to 2.0: renamed commands and a new Node.js minimum version.

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:

```bash
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:

```bash
npm install -g @webflow/webflow-cli@latest
```

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

```bash
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 command        | Version 2 command        | Description                                                            |
| ------------------------ | ------------------------ | ---------------------------------------------------------------------- |
| `webflow library share`  | `webflow devlink import` | Bundles and shares components with a Webflow Workspace                 |
| `webflow library bundle` | `webflow devlink bundle` | Bundles a Code Component library locally without sharing it to Webflow |
| `webflow library log`    | `webflow log`            | Shows the path to the latest log file                                  |
| `webflow cloud create`   | `webflow cloud init`     | Initializes a Webflow Cloud app from a template                        |

For full options and examples, see the [command reference](/cli/command-reference).