# 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
- **バージョン:** 1.0.35
- **ソース概要:** Perl module dependency manager (aka Bundler for Perl)
- **ホームページ:** <https://metacpan.org/pod/Carton>
- **リポジトリ:** <https://github.com/perl-carton/carton>
- **最終更新:** 2026-06-13T01:03:34+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- carton (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.0.35
## プロジェクトの歴史と使われ方

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
## 他のパッケージマネージャ記録

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
