Automic VaultAutomic Vault

brew

cloudflare-wrangler を Homebrew, MacPorts, Nix, pacman でインストール

cloudflare-wrangler のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

エージェント安全性

エージェント安全性の回答

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.

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install cloudflare-wrangler

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install wrangler

MacPorts ports tree · devel/wrangler/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#wrangler

nixpkgs package indexes · pkgs/by-name/wr/wrangler/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S wrangler

Arch Linux sync databases · wrangler · ソース: geo.mirror.pkgbuild.com

概要

パッケージ概要

CLI tool for Cloudflare Workers

コマンドとエイリアス

  • wrangler
  • wrangler2

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2019: Original Cloudflare Wrangler v1 repository was created and Wrangler became the Workers CLI.
  • 2021: Cloudflare created the workers-sdk monorepo, now described as the home of Wrangler.
  • 2022: Early wrangler-tagged releases appeared in workers-sdk as the modern CLI line developed.
  • 2023: Wrangler v1 repository was archived after v1 maintenance ended.
  • 2026: workers-sdk continued publishing frequent wrangler@4.x releases.

Related projects

  • Cloudflare Workers is the runtime and deployment target Wrangler primarily manages.
  • workers-sdk is the official monorepo that contains Wrangler and adjacent Workers developer tooling.
  • Miniflare and workerd are related pieces of the local/runtime tooling stack around Workers development.

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/Library/Preferences/.wrangler/config/default.toml
Unix
~/.wrangler/config/default.toml~/.config/.wrangler/config/default.toml$XDG_CONFIG_HOME/.wrangler/config/default.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

macOS
~/Library/Preferences/.wrangler/config/default.toml
Unix
~/.wrangler/config/default.toml~/.config/.wrangler/config/default.toml$XDG_CONFIG_HOME/.wrangler/config/default.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
wranglercliグローバル実行可能ファイル
wrangler2cliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版4.114.0
マネージャ更新日2026-07-24
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
依存関係node
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecloudflare-wrangler
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

MacPorts94%

wrangler

sudo port install wrangler
  • installed executable or alias match
  • 一致条件: Wrangler
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/wrangler/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

wrangler

nix profile install nixpkgs#wrangler
  • installed executable or alias match
  • 一致条件: Wrangler
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wr/wrangler/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman92%

wrangler 4.82.2-1

The CLI for Cloudflare Workers

https://github.com/cloudflare/workers-sdk

sudo pacman -S wrangler
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 5 依存関係
  • installed executable or alias match
  • 一致条件: Wrangler
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: wrangler from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment