Netlify CLI 21.4.1 UI and workflow enhancements

May 15, 2025

CLI updates

Netlify CLI 21.4.1 has a cleaner look, simplified workflows, and a new command.

Install the latest version:

npm install netlify-cli -g
# or
yarn global add netlify-cli

Onboard to Netlify projects with netlify clone command

Pull an existing Netlify project locally from its repo with one command:

netlify clone <repository-url>

Clones the repo and links it to the right Netlify site–ideal for onboarding or switching projects.

Builds are included with netlify deploy

The deploy command now runs a build step by default, eliminating separate build commands.

Instead of netlify build && netlify deploy or netlify deploy --build, simply run:

netlify deploy

To deploy without building, use netlify deploy --no-build.

Smarter manual setup

netlify init now auto-detects your framework and suggests the right build settings. It’ll even help you create a netlify.toml if you don’t have one.

Better updates and onboarding

Additional improvements include:

  • Better update notifications with links to release notes
  • Improved onboarding guidance with clearer next steps and resource links
  • Reorganized help command with better documentation references