# carton を Homebrew, apt, winget でインストール

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

## インストール

```sh
sudo av install brew:carton
```

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

### macOS

- Homebrew (100%):

```sh
brew install carton
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install carton
```

  証拠: Debian stable package indexes: carton from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- winget (92%):

```sh
winget install --id Unifan.Carton -e
```

  証拠: Windows Package Manager source index: Unifan.Carton from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:carton
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/carton>
- **バージョン:** 1.0.35
- **ソース概要:** Perl module dependency manager (aka Bundler for Perl)
- **ホームページ:** <https://metacpan.org/pod/Carton>
- **リポジトリ:** <https://github.com/perl-carton/carton>
- **上流ドキュメント:** <https://metacpan.org/pod/Carton>
- **ライセンス:** Artistic-1.0-Perl OR GPL-1.0-or-later
- **ソースアーカイブ:** <https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Carton-v1.0.35.tar.gz>
- **最終更新:** 2026-06-13T01:03:34+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- carton (cli)
- carton (エイリアス)

## 依存関係

- perl

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.0.35
- マネージャ更新日: 2026-06-13
- ローカルデータ: OK
- 上流リポジトリ: https://metacpan.org/pod/Carton
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Carton is a Perl application dependency manager, described by its official README and MetaCPAN metadata as a Bundler-like tool for Perl. It tracks dependencies declared in cpanfile and pins resolved module versions in cpanfile.snapshot.

### プロジェクトの歴史

The public GitHub repository was created in 2011 and the README copyright line credits Tatsuhiko Miyagawa from 2011 onward. The latest MetaCPAN release metadata identifies Carton-v1.0.35, authored by MIYAGAWA and dated May 7, 2022.

### 採用の歴史

Carton came from the Perl/CPAN application-deployment world, where repeatable local dependency installs mattered for web apps and services. Its README tells developers to commit cpanfile and cpanfile.snapshot so other machines and deployment boxes install the same dependency tree.

### 使われ方

A typical workflow declares modules in cpanfile, runs carton install, commits cpanfile and cpanfile.snapshot, then runs commands through carton exec or points Perl at local/lib/perl5. Deployment mode installs exactly from the snapshot, and carton bundle can vendor tarballs into vendor/cache for cached or offline installs.

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

Carton is important package-manager plumbing because it adapts the lockfile-and-local-install pattern to CPAN applications. Its README explicitly references Bundler, pip, npm, cpanm, cpanfile, and Carmel, making it a useful bridge between Perl packaging culture and the broader application dependency-manager era.

### タイムライン

- 2011: Public GitHub repository created and copyright begins.
- 2022: MetaCPAN release metadata lists Carton-v1.0.35.
- 2020s: README documents cpanfile, cpanfile.snapshot, local installs, deployment mode, and vendored cache workflows.

### Related projects

- The README's SEE ALSO section points to Carmel, cpanm, cpanfile, Bundler, pip, npm, perlrocks, and only.
- Carton is closely tied to CPAN, cpanfile, local::lib-style local installs, and Perl application deployment.

### ソース

- <https://api.github.com/repos/perl-carton/carton>
- <https://github.com/perl-carton/carton>
- <https://metacpan.org/pod/Carton>
- <https://metacpan.org/pod/Carton::Doc::Install>
- <https://formulae.brew.sh/api/formula/carton.json>


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal


## 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

- Unix: ./cpanfile
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** carton
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - carton - 1.0.35-1: normalized package name match | Debian stable package indexes: carton from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Perl module dependency manager (aka Bundler for Perl) | https://metacpan.org/release/Carton
- Ubuntu apt - carton - 1.0.35-1: normalized package name match | Ubuntu 24.04 LTS package indexes: carton from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Perl module dependency manager (aka Bundler for Perl) | https://metacpan.org/release/Carton
- winget - Unifan.Carton: normalized package name match | Windows Package Manager source index: Unifan.Carton from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [perl](https://pkg.so/ja/brew/perl/) - Runtime dependency declared by Homebrew.
- [cpanminus](https://pkg.so/ja/brew/cpanminus/) - Shares pkgdb curated category or tags: cli, cpan, developer-tools, perl.
- [cpm](https://pkg.so/ja/brew/cpm/) - Shares pkgdb curated category or tags: cli, cpan, developer-tools, perl.
- [cocoapods](https://pkg.so/ja/brew/cocoapods/) - Shares pkgdb curated category or tags: cli, dependency-manager, developer-tools.
- [mint](https://pkg.so/ja/brew/mint/) - Shares pkgdb curated category or tags: cli, dependency-manager, developer-tools.
- [lcov](https://pkg.so/ja/brew/lcov/) - Shares pkgdb curated category or tags: cli, developer-tools, perl.
- [composer](https://pkg.so/ja/brew/composer/) - Shares pkgdb curated category or tags: cli, dependency-manager, developer-tools.
- [cask](https://pkg.so/ja/brew/cask/) - Shares pkgdb curated category or tags: cli, dependency-manager, developer-tools.
- [conan](https://pkg.so/ja/brew/conan/) - Shares pkgdb curated category or tags: cli, dependency-manager, developer-tools.
- [carthage](https://pkg.so/ja/brew/carthage/) - Local package facts share a topical domain. Shared terms: cli, dependency, dependency-manager, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/carton.yml](https://github.com/mxcl/pkgdb/blob/main/combined/carton.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
