凭据访问
Reads Cloudflare tokens, account IDs, project config, and environment variables.
代理安全
cloudflare-wrangler deploys and manages Cloudflare Workers and related resources.
Reads Cloudflare tokens, account IDs, project config, and environment variables.
Can deploy workers, change routes, and mutate Cloudflare resources.
Publishes worker scripts and static assets to production edges.
Gate deploy, secret, route, and account mutation commands.
Allow local build/dev; require approval before deploys, secret changes, or route updates.
安装
brew install cloudflare-wranglerlocal Homebrew formula metadata
sudo port install wranglerMacPorts ports tree · devel/wrangler/Portfile · 来源: api.github.com
nix profile install nixpkgs#wranglernixpkgs package indexes · pkgs/by-name/wr/wrangler/package.nix · 来源: api.github.com
sudo pacman -S wranglerArch Linux sync databases · wrangler · 来源: geo.mirror.pkgbuild.com
概览
CLI tool for Cloudflare Workers
历史
Wrangler is Cloudflare's command-line interface for building, previewing, configuring, and deploying Cloudflare Workers and related developer-platform resources. The modern package lives in the official Cloudflare Workers SDK monorepo, while the earlier Wrangler v1 repository is archived as wrangler-legacy.
Cloudflare introduced Wrangler as a Workers-focused CLI during the early growth of Workers as an edge/serverless platform. The original public Wrangler repository was created in 2019 and later archived as the v1 codebase, with current development consolidated into the workers-sdk monorepo that Cloudflare describes as home to Wrangler.
The move into workers-sdk matched Wrangler's broadening role: it stopped being only a deploy command for Worker scripts and became the CLI surface for local development, configuration files, environments, asset workflows, and other Cloudflare developer-platform features.
Official Cloudflare documentation presents Wrangler as the standard CLI for Workers development. Package-manager metadata in this batch shows the Homebrew formula alongside MacPorts, Nix, and Arch packaging, while Cloudflare's primary installation path remains the JavaScript package ecosystem.
GitHub release metadata shows the workers-sdk monorepo publishing frequent wrangler-tagged releases through 2026, which is a useful signal for maintainers because the Homebrew package tracks a fast-moving upstream CLI rather than a slow system utility.
Developers use Wrangler to scaffold and configure Workers projects, run local development, deploy Workers, manage bindings and environments, and interact with Cloudflare platform resources from scripts and CI.
Wrangler configuration is project-local in wrangler.jsonc, wrangler.json, or wrangler.toml. Environment variables and secrets can be loaded from .env-style files for local workflows, with production secrets managed through Cloudflare's documented secret mechanisms.
Wrangler is interesting to package maintainers because it is a Node-based, vendor-owned cloud CLI distributed both through npm-style workflows and operating-system package managers. That creates the usual tension between fast upstream release cadence, lockfile-heavy JavaScript packaging, and distro expectations for reproducibility.
The Homebrew formula name cloudflare-wrangler also preserves a vendor-qualified package identity even though the executable is wrangler, which helps avoid namespace ambiguity with unrelated tools.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/Library/Preferences/.wrangler/config/default.toml~/.wrangler/config/default.toml~/.config/.wrangler/config/default.toml$XDG_CONFIG_HOME/.wrangler/config/default.tomlCredential-bearing paths to review before unattended agent runs.
~/Library/Preferences/.wrangler/config/default.toml~/.wrangler/config/default.toml~/.config/.wrangler/config/default.toml$XDG_CONFIG_HOME/.wrangler/config/default.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
wrangler | cli | 全局可执行文件 | |
wrangler2 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://developers.cloudflare.com/workers/
安装元数据
| 软件包键 | brew:cloudflare-wrangler |
|---|---|
| 版本 | 4.114.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cloudflare-wrangler |
| 主页 | https://developers.cloudflare.com/workers/ |
| 仓库 | https://github.com/cloudflare/workers-sdk |
| 上游文档 | https://developers.cloudflare.com/workers/wrangler |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://registry.npmjs.org/wrangler/-/wrangler-4.114.0.tgz |
| 最后更新 | 2026-07-24T20:41:25Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cloudflare-wrangler |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
wrangler
sudo port install wranglerwrangler
nix profile install nixpkgs#wranglerwrangler 4.82.2-1
The CLI for Cloudflare Workers
https://github.com/cloudflare/workers-sdk
sudo pacman -S wrangler来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.