
Netlify CLI
CLINetlify 官方命令行:部署站点、用 Netlify Dev 在本地运行项目、管理环境变量、Functions 与 Blobs,并可直接调用 Netlify API。需要 Node.js 22.13 以上与 Netlify 账号登录。

Interact with Netlify from the comfort of your CLI.
See the CLI command line reference to get started and the docs on using Netlify Dev to run your site locally.
Table of Contents
Click to expand
Installation
Netlify CLI requires Node.js version 22.13.0 or above. To install, run the following command from any directory in your terminal:
npm install netlify-cli -g
When using the CLI in a CI environment we recommend installing it locally as a development dependency, instead of globally. To install locally, run the following command from the root directory of your project:
npm install --save-dev netlify-cli
Important: Running npm install netlify-cli -g in CI means you're always installing the latest version of the CLI,
including breaking changes. When you install locally and use a
lock file you guarantee reproducible builds. To manage CLI updates we
recommend using an automated tool like renovate or
dependabot.
Alternatively you may also use Homebrew: brew install netlify-cli (thanks
@cglong).
Usage
Installing the CLI globally provides access to the netlify command.
netlify [command]
# Run `help` for detailed information about CLI commands
netlify [command] help
Documentation
To learn how to log in to Netlify and start deploying projects, visit the documentation on Netlify.
Commands
For a full command reference visit cli.netlify.com.
Contributing
See CONTRIBUTING.md for more info on how to make contributions to this project.
Development
You'll need to follow these steps to run Netlify CLI locally:
uninstall any globally installed versions of netlify-cli
clone and install deps for https://github.com/netlify/cli
npm link from inside the cli folder
Now you're both ready to start testing and to contribute to the project!
License
MIT. See LICENSE for more details.
相关资源

Netlify Skills
PluginNetlify 官方插件,内置 Functions、Edge Functions、Blobs、数据库、表单、缓存、netlify.toml 配置与部署等技能,并接入托管 Netlify MCP(首次使用 OAuth 登录)。
netlify/context-and-tools41
Vercel CLI
CLIVercel 官方命令行,一条命令把前端与全栈项目部署上线,并管理预览环境、环境变量、域名与日志。官方维护,需要 Vercel 账号(有免费档)。
vercel/vercel16.4k
Vercel Plugin
PluginVercel 官方插件:内置 Vercel 生态知识图谱、数十个技能、部署与性能等专家子代理,以及部署、环境变量、项目状态命令,覆盖 Next.js、AI SDK、存储与 CI/CD。需 Node.js 18+ 与 Bun,默认开启遥测(可关闭)。
vercel/vercel-plugin308
Wrangler
CLICloudflare 官方 Workers 命令行,本地开发调试并部署 Workers,管理 D1、R2、KV 等资源并实时查看日志。官方推荐装在项目内,需要 Cloudflare 账号。
cloudflare/workers-sdk4.6k
cloudflared
CLICloudflare Tunnel 官方客户端:无需开放防火墙端口即可把本地服务暴露到公网,也能代理 SSH、RDP 等 TCP 访问。命名隧道需 Cloudflare 账号与域名,快速隧道可免登录试用。
cloudflare/cloudflared16.2k
EdgeOne Makers MCP
MCP把 agent 生成的 HTML 或全栈项目部署到腾讯云 EdgeOne Makers 并返回公开链接,支持国际站与中国站。腾讯云 EdgeOne 官方维护(原 EdgeOne Pages MCP),需浏览器登录或配置 API Token。
TencentEdgeOne/edgeone-makers-mcp439