npm / netlify-cli
netlify-cli
What changed in netlify-cli 6 to 27, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
36 breaking1 security1 deprecations22 new APIs and options3 performance9 behavior and defaults57 tooling61 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initnetlify-cli 2760 changes
Breaking changes 3
The --json option always emits a JSON object for every authentication and link state.
Usage errors use exit code 2, allowing scripts to distinguish them from other command outcomes.
Node.js 20 is no longer supported; Netlify CLI requires Node.js 22.13.0 or later.
Security 1
The Netlify token is stored in the native OS secure keychain.
New APIs and options 8
Adds --remote to build an existing commit remotely on Netlify.
Adds a scale configuration option for the server.
The CLI supports this environment variable for controlling telemetry.
The blobs commands accept a --region flag.
Adds an agent-detection helper for identifying the driving agent.
Adds --deploy-id to target a specific deploy; --follow streams that targeted deploy.
Adds support for deploy-specific environment variables when running netlify deploy.
Allows --site-id to be used as a silent flag, preventing common guessing mistakes from agents.
Behavior and default changes 7
The logs command includes server logs.
Netlify Server is enabled without requiring feature flags.
The CLI reports when it runs in a CI environment.
Netlify agent skills are installed by default when initializing a project.
Installed skills are synchronized with the manifest.
Redirects are matched with @netlify/redirect-matcher.
Agent runner IDs are forwarded when a deploy is created.
Tooling 17
Prints next steps when there is no terminal.
Netlify skills are kept up to date in the background.
The init command can set up the Netlify MCP server for a project.
The deploy command links to server logs.
Server logs can be paged by cursor.
The default export error now mentions Fetchable modules.
Adds a server log source for developers to use when viewing logs.
Adds support for deploying server config.
Servers can now be deployed from their own manifest.
Standalone servers can now be deployed.
MCP-spawned logins are credited with utm_source=mcp.
Adds local development support for the experimental server.
The CLI adds UTM attribution to its login URL.
The CLI attaches the driving agent to telemetry events.
The CLI includes the driving agent in its API User-Agent.
Automatically selects the latest finished deploy for logs, including failed deploys.
Adds support for uploading edge functions.
Fixes and other changes 24
Fixes
netlify initso it does not recreate projects linked without Git.Fixes pagination for logs.
Prevents a crash when the proxy errors after response headers are sent.
Responds with 413 or 408 instead of crashing on oversized or slow request bodies.
The CLI now passes the client address to Netlify Server in local development.
The dev server now starts when the standalone flag is enabled.
Agent runners can now be stopped with the POST stop endpoint.
Telemetry and error reports are sent in CI environments.
Help output now lists nested subcommands.
The init command no longer crashes when the team list is empty.
Skill sync outcomes are reported accurately on the first run.
The dev command uses URL separators for static file paths.
Feature flags are now passed to ef bundling when using --no-build.
Improves matching logic for manual repos.
The CLI can recover a local database that cannot start.
Every statement of a multi-statement query is rendered.
Fixed pulling migrations from an explicit branch.
The edge-functions bootstrap fallback now points at server.ts.
Fixes an npm 12 issue for projects with Netlify Extensions.
Reconstructs build_data when it is missing during direct-zip deploys.
Prevents file descriptor exhaustion when watching for EF changes.
Malformed --data now gets a helpful explanation instead of leaking a SyntaxError.
Handling of GitLab repositories is fixed.
When piped, --help output no longer joins flag names to their descriptions.
netlify-cli 2611 changes
New APIs and options 2
Adds a watch-ignore flag to netlify dev.
Adds support for new function config properties.
Tooling 1
Adds support for the new Netlify Database primitive.
Fixes and other changes 8
The dev command can now execute commands containing shell operators such as && and ||.
Zip output is silenced when creating source zips.
Fixes an infinite loop on error.
Sending the wrong command is no longer treated as an error.
The non-interactive variant no longer uses inquirer.
Adjusts the import path to account for function-specific directories.
Filters out more user error messages.
Sets NETLIFY_DB_DRIVER when running netlify dev.
netlify-cli 2523 changes
Breaking changes 6
The Go and Rust function templates are removed from the functions:create command.
The logs:deploy command is removed in favor of the unified logs command.
The logs:edge-functions command is removed in favor of the unified logs command.
The logs:function command is removed in favor of the unified logs command.
A new, improved unified logs command replaces the separate function, deploy, and edge-function log commands.
Netlify CLI stops including npm-shrinkwrap.json.
Deprecations 1
Deprecation messaging was added for the legacy Netlify DB extension.
New APIs and options 1
Adds deploy_source to CLI deploy requests.
Tooling 8
A setup wizard is now available in database init.
The CLI supports the NETLIFY_DEPLOY_SOURCE environment variable.
Database commands received various improvements; the notes do not specify which commands or behaviors changed.
The command shows the migrations directory path, helping developers identify the directory used for migrations.
New database subcommands use database as their primary name.
Adds the db migrations reset command.
Adds the db status command.
The db status command supports the NETLIFY_DB_BRANCH environment variable.
Fixes and other changes 7
Fixes to the dev server may improve behavior when running the local development server.
Migration finding behavior was fixed to match netlify/build.
Anonymous deploys are more reliable.
Intentional user-input errors are filtered out from error reporting.
Update checks inside an agent sandbox no longer cause fatal issues.
Intentional user-input errors are filtered out from report-error.
Login now attempts to use a browser and falls back to a ticket instead of forcing tickets.
netlify-cli 2432 changes
Breaking changes 1
The sites:create-template command was removed.
New APIs and options 6
The CLI can load the database connection string from an environment variable.
Adds site search to the CLI.
Deploys can use the --allow-anonymous option.
Adds support for switching to a known user.
Adds --check as part of an agent-friendly login flow.
Adds --request as part of an agent-friendly login flow.
Performance 1
Drops 62 transitive dependencies and approximately 3 MB from the install size.
Tooling 18
The CLI can pull database migrations.
The CLI's database commands have been restructured.
Adds the db connect command.
Improves linking when running non-interactively.
Improves the directions for creating sites and logging in.
The deploy command now sets branch as alias.
The sites command now supports the --json option.
With --json --verbose, log output is written to stderr.
The CLI now supports a create flow with agent runners.
The deploy command has an AX-related change; the notes do not specify further details.
Propagates the @netlify/build version, primary framework, and its version.
Adds a command for scaffolding migrations.
Executes db commands on a running instance.
Adds the db migrate command.
Adds the db reset command.
Makes deploy-specific environment variables available when running netlify dev.
Stops @netlify/dev on process exit, so it no longer continues running after the process exits.
An error message changed.
Fixes and other changes 6
Improves error handling around missing commands or unknown flags.
Fixed deployment of database migrations.
Accessibility was improved for environment variable setting.
Improves the experience of creating sites when not logged in and when using sites:create.
Adds support for an account scoped AI gateway.
Suppresses spinner output when the --json or --silent flag is passed.
netlify-cli 2319 changes
Breaking changes 2
AIG gating now uses site caps.
The Node.js version was updated to 24, which may affect the runtime needed to use the CLI.
Behavior and default changes 1
AIG environment variables are passed to child processes.
Tooling 7
Support for AIG was added to dev-exec.
Support for AIG was added to serve.
Adds a check for whether the AI gateway is disabled.
Mentions the detected framework when presenting build settings.
Netlify CLI now supports a skew protection token.
A deploy is created before the build runs.
Netlify CLI loads generated functions from Netlify Build.
Fixes and other changes 9
The deploy command now normalizes content.
Results now include sourceZipFileName for printing when it is available.
Fixed an EBADPLATFORM error when running npm ci.
Netlify CLI now handles ECONNRESET errors in Node.js 24.x.
Fixes corruption when uploading binary files to blob storage.
Restores support for the dev server in monorepos.
Edge functions are now bundled when they exist and you deploy with --no-build.
Uses a relative path for the functions folder.
Local Node.js options now match those used by AWS Lambda in production.
netlify-cli 222 changes
Breaking changes 1
Support for Node.js 18.x and 19.x was dropped.
Fixes and other changes 1
Fixed pnpx context awareness.
netlify-cli 2110 changes
Breaking changes 4
Use --no-build to opt into the previous behavior and deploy without running the configured build command.
The deploy command now runs the site's configured build command before deployment by default; use --no-build to deploy without building.
Deploy command output was polished and improved; scripts that look for specific output strings may stop working. Use --json for stable output that conforms to semantic versioning.
Support for the deprecated netlify-lambda package was removed; users still using it should follow the migration guide.
Behavior and default changes 1
Telemetry now sends command options and arguments.
Tooling 4
Command help output now links to relevant Netlify documentation.
Use --json for stable output that conforms to semantic versioning.
The dev command output was polished and improved.
The postinstall onboarding message was polished and improved.
Fixes and other changes 1
Fixed the framework server loading spinner that displays “Waiting for framework port”.
netlify-cli 203 changes
Breaking changes 1
The command no longer reports team membership permissions; with --json, Teams is now a list of team names instead of a hash of team names to permissions.
Performance 2
Lazy-loading dev and dev:exec commands saves about 30% of boot time for all commands.
Using a minimal accounts query when loading config saves more than 1000 ms on most commands.
netlify-cli 194 changes
Breaking changes 3
Deprecated camelCase option variants were removed, so CLI commands must use the supported option names.
Integration commands were removed from the CLI.
The CLI upgraded to commander@12 and fixed conflicting short option names.
Fixes and other changes 1
The dev server now processes environment mutations made by plugins.
netlify-cli 184 changes
Breaking changes 2
The addons subcommand was removed, so it can no longer be used.
The lm (large media) subcommand was removed, so it can no longer be used.
Tooling 1
Shell completion support was added for the ntl alias in zsh.
Fixes and other changes 1
Fixed the dev server IP when watch is skipped.
netlify-cli 173 changes
Breaking changes 1
The minimum required Node version is now 18.
New APIs and options 2
Blobs context is available to functions.
Blobs context is available to edge functions.
netlify-cli 162 changes
Breaking changes 2
Replaces framework-info with build-info.
In monorepos, the CLI now prompts you to select the site for the operations you run.
netlify-cli 152 changes
Breaking changes 1
The netlify graph commands were removed.
Fixes and other changes 1
The Host header is now set on edge functions in HTTPS.
netlify-cli 146 changes
Breaking changes 3
Deno file system APIs in edge functions are no longer available locally, aligning local behavior with production.
User and integrations edge functions now execute in the correct order.
Support for Node.js 14.16 and 14.17 was dropped, affecting which Node.js versions developers can use.
Tooling 1
Environment variables from .env files are now injected into edge functions locally.
Fixes and other changes 2
Precedence for duplicate functions is determined based on extension.
Plugins now receive the correct URL and DEPLOY_URL environment variables in live mode.
netlify-cli 131 changes
Breaking changes 1
Netlify Dev responses now use the server header instead of x-powered-by, bringing dev server headers to parity with production.
netlify-cli 121 changes
Breaking changes 1
Node.js 12 is no longer supported.
netlify-cli 111 changes
Breaking changes 1
Netlify Dev installs and runs build plugins required by frameworks, applying their version requirements, such as Node version requirements.
netlify-cli 101 changes
New APIs and options 1
Adds support for Edge Functions.
netlify-cli 81 changes
Breaking changes 1
Node 13, 14.0.0–14.13.1, and 15 are no longer supported.
netlify-cli 71 changes
Breaking changes 1
Node 10 support was removed, so developers can no longer use Node 10 with this release.
netlify-cli 63 changes
Breaking changes 1
The deploy command now looks for a functions cache created by build and deploys existing function archives.
New APIs and options 2
Support for a manifest file was added.
This flag disables use of the functions cache and tells the CLI to create fresh archives during deployment.