Automic VaultAutomic Vault

brew

carthage を Homebrew, MacPorts でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install carthage

local Homebrew formula metadata

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

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

概要

パッケージ概要

Decentralized dependency manager for Cocoa

コマンドとエイリアス

  • carthage

履歴

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

Carthage is a decentralized dependency manager for Cocoa. Its README says it builds dependencies and provides binary frameworks while leaving project structure and build settings under the developer's control.

プロジェクトの歴史

The public repository was created in 2014, during the period when Swift and modern Cocoa dependency management were taking shape. Carthage's official pitch was simplicity and decentralization: dependencies are declared in a Cartfile, resolved to exact versions in Cartfile.resolved, and built or downloaded without automatically editing the Xcode project.

採用の歴史

Carthage became a major alternative to CocoaPods for iOS and macOS projects that preferred explicit framework integration. Its documentation emphasizes manual Xcode integration, shared schemes, tagged releases, binary framework archives, and reproducible bootstrap through committed Cartfile.resolved files.

使われ方

A typical project creates a Cartfile next to its .xcodeproj or .xcworkspace, runs carthage update, then adds built frameworks or XCFrameworks from Carthage/Build into Xcode. Carthage can also checkout dependencies into Carthage/Checkouts, use Git submodules, cache builds, and authenticate binary framework downloads through ~/.netrc when --use-netrc is set.

パッケージ好きにとっての重要性

Carthage is one of the canonical package-manager stories in Apple development: it rejects project mutation as a feature, relies on Git tags and semantic versions, and treats dependency builds as visible artifacts. For package-manager catalogs, it is a historically important Cocoa tool because it captures a distinct design point from CocoaPods and Swift Package Manager.

タイムライン

  • 2014: Public GitHub repository created.
  • 2021: README says version 0.37.0 encouraged XCFrameworks and required them for Apple Silicon Macs.
  • 2020s: Documentation describes Cartfile, Cartfile.private, Cartfile.resolved, Carthage/Build, Carthage/Checkouts, and the shared cache under ~/Library/Caches/org.carthage.CarthageKit.

Related projects

  • Official documentation compares Carthage's approach with CocoaPods.
  • Carthage operates in the Cocoa, Xcode, Swift, iOS, macOS, tvOS, and watchOS ecosystem.
  • Its artifacts and binary-project-specification docs connect it to GitHub releases and HTTPS-hosted framework archives.

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:dependency manager

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。

推奨レビュー

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

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.

Unix
./Cartfile./Cartfile.private./Cartfile.resolved

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.netrc

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/Carthage/Carthage

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:carthage
バージョン0.40.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/carthage
ホームページhttps://github.com/Carthage/Carthage
リポジトリhttps://github.com/Carthage/Carthage
上流ドキュメントhttps://github.com/Carthage/Carthage#readme
ライセンスMIT
ソースアーカイブhttps://github.com/Carthage/Carthage.git
Bottle利用可能 (対象 arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecarthage
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

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

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

MacPorts95%

carthage

sudo port install carthage
  • normalized package name match
  • 一致条件: Carthage
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/carthage/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

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

このページは 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment