# crane を Homebrew, apk, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:crane
```

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

### macOS

- Homebrew (100%):

```sh
brew install crane
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add crane
```

  証拠: Alpine Linux edge package indexes: crane from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- pacman (92%):

```sh
sudo pacman -S crane
```

  証拠: Arch Linux sync databases: crane from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install crane
```

  証拠: openSUSE Tumbleweed package metadata: crane from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:crane
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/crane>
- **バージョン:** 0.21.8
- **ソース概要:** Tool for interacting with remote images and registries
- **ホームページ:** <https://github.com/google/go-containerregistry>
- **リポジトリ:** <https://github.com/google/go-containerregistry>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/google/go-containerregistry/archive/refs/tags/v0.21.8.tar.gz>
- **最終更新:** 2026-07-31T20:45:46Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.21.8
- マネージャ更新日: 2026-07-31
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/google/go-containerregistry
- 検出された最新: v0.21.8 (最新)
## プロジェクトの歴史と使われ方

crane is the command-line front end in Google's go-containerregistry project for working with remote container images and registries. It sits beside the Go library APIs and exposes common registry operations as shell commands.

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

The go-containerregistry repository was created in 2018 as a Go library and set of CLIs for container registry work. Its README describes the library as largely based on Google's earlier Python containerregistry library and explains that crane, gcrane, and krane are tools built on top of the shared registry primitives.

The crane README documents direct binary releases, Go installation, Homebrew, Arch Linux, GitHub Actions setup, and a container image form of the tool. The project published a v0.1.0 GitHub release in 2020 and was still publishing releases in 2026.

### 採用の歴史

crane became common packaging material because it is useful without a Docker daemon: scripts can copy, tag, inspect, authenticate to, and move images directly against registries. Official installation instructions explicitly cover Homebrew, Arch Linux, release tarballs, Go install, and containerized usage.

### 使われ方

Package users reach for crane for registry automation: pulling and pushing images, copying between registries, tagging images in CI, listing tags, and authenticating to registries. The go-containerregistry README maps examples such as crane pull, crane push, and crane cp to library-level remote and tarball operations.

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

For package maintainers, crane is a small, single-purpose registry CLI with signed release artifacts and documented SLSA provenance verification. That makes it attractive in build pipelines where installing a full container engine would be unnecessary overhead.

### タイムライン

- 2018: google/go-containerregistry repository created.
- 2020: v0.1.0 release published.
- 2026: v0.21.7 release published.

### Related projects

- go-containerregistry also includes gcrane, a GCR-oriented variant, and krane, a Kubernetes-workload-identity-aware drop-in replacement. The README notes that ko originally lived in the repository before moving to its own project.

### ソース

- <https://github.com/google/go-containerregistry>
- <https://github.com/google/go-containerregistry/tree/main/cmd/crane#readme>
- <https://github.com/google/go-containerregistry/releases/tag/v0.1.0>
- <https://github.com/google/go-containerregistry/releases/tag/v0.21.7>


## セキュリティノート

crane に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。



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


## Credential files

- Unix: ~/.docker/config.json, ${DOCKER_CONFIG}/config.json, ${XDG_RUNTIME_DIR}/containers/auth.json
- Windows: %USERPROFILE%\.docker\config.json
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** crane
- **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

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

- apk - crane - 0.21.8-r0: normalized package name match | Alpine Linux edge package indexes: crane from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | tool for interacting with remote images and registries | https://github.com/google/go-containerregistry/tree/main/cmd/crane
- pacman - crane - 0.21.8-1: normalized package name match | Arch Linux sync databases: crane from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Interacting with remote container images and registries. | https://github.com/google/go-containerregistry
- zypper - crane - 0.21.7-1.3: normalized package name match | openSUSE Tumbleweed package metadata: crane from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI tool for interacting with remote images and registries | https://github.com/google/go-containerregistry


## 関連リンク

- [Cloud CLI packages](https://pkg.so/ja/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [ko](https://pkg.so/ja/brew/ko/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, go, oci-images.
- [rancher-machine](https://pkg.so/ja/brew/rancher-machine/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, go.
- [colima](https://pkg.so/ja/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [oras](https://pkg.so/ja/brew/oras/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [skopeo](https://pkg.so/ja/brew/skopeo/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [container](https://pkg.so/ja/brew/container/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [container-compose](https://pkg.so/ja/brew/container-compose/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [lxc](https://pkg.so/ja/brew/lxc/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [apko](https://pkg.so/ja/brew/apko/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, container, containers.

## Combined YAML source

View the package source record on GitHub. [combined/crane.yml](https://github.com/mxcl/pkgdb/blob/main/combined/crane.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
