# croc を Homebrew, apk, chocolatey, MacPorts, Nix, pacman, scoop, winget でインストール

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

## インストール

```sh
sudo av install brew:croc
```

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

### macOS

- Homebrew (100%):

```sh
brew install croc
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install croc
```

  証拠: MacPorts ports tree: net/croc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add croc
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#croc
```

  証拠: nixpkgs package indexes: pkgs/by-name/cr/croc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S croc
```

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

### Windows

- Chocolatey (92%):

```sh
choco install croc
```

  証拠: Chocolatey community package catalog: croc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','cloudquery'

- Scoop (92%):

```sh
scoop install main/croc
```

  証拠: Scoop official bucket manifest trees: bucket/croc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id schollz.croc -e
```

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

## パッケージ情報

- **パッケージキー:** brew:croc
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/croc>
- **バージョン:** 11.0.1
- **ソース概要:** Securely send things from one computer to another
- **ホームページ:** <https://github.com/schollz/croc>
- **リポジトリ:** <https://github.com/schollz/croc>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/schollz/croc/archive/refs/tags/v11.0.1.tar.gz>
- **最終更新:** 2026-07-31T20:45:31Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

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

croc is a cross-platform CLI for simple, encrypted file and folder transfer between two computers. It combines a relay, password-authenticated key agreement, resumable transfers, and package-manager-friendly binaries into a tool aimed at replacing ad hoc local servers, port forwarding, or manual cloud handoffs.

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

The project began in 2017 and later standardized around a Go module and release binaries. Its README describes the core promise as allowing any two computers to transfer data through a relay while preserving end-to-end encryption using PAKE.

Over time the feature set grew beyond one-shot file sending: multiple files, interrupted-transfer resume, IPv6-first behavior with IPv4 fallback, proxy support, text transfer, pipes, QR codes, Docker usage, and platform-specific install paths are all part of the official documentation.

### 採用の歴史

The official install section documents Homebrew and MacPorts on macOS, Scoop, Chocolatey, and Winget on Windows, Nix and NixOS, pacman on Arch, dnf on Fedora, portage on Gentoo, Termux, FreeBSD pkg, conda-forge, Docker, and Go source builds. That breadth made croc a common package-index entry for secure peer-to-peer-ish file transfer even though the protocol uses relays.

### 使われ方

A sender runs croc send with files or folders and receives a code phrase; the recipient runs croc with that phrase. The phrase establishes the PAKE-derived shared secret used for end-to-end encryption, while the relay helps two machines connect without a local server or port forwarding.

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

croc is interesting to package maintainers because it is a network CLI where usability depends heavily on reproducible, cross-platform binary distribution. The same project appears in many package ecosystems, and its runtime behavior is intentionally simple enough to be useful from ephemeral shells, developer machines, and constrained environments.

### タイムライン

- 2017: Repository created.
- 2020: v8 release line published on GitHub releases.
- 2020s: Official installation instructions expanded across macOS, Windows, Linux distributions, BSD, Termux, Conda, Docker, and Go.

### Related projects

- PAKE is the cryptographic primitive used to derive the transfer secret from the code phrase.
- Package ecosystems including Homebrew, MacPorts, Scoop, Chocolatey, Winget, Nix, pacman, dnf, portage, FreeBSD pkg, Termux, and conda-forge distribute or document croc installation.

### ソース

- <https://github.com/schollz/croc#readme>
- <https://github.com/schollz/croc/releases/tag/v8.0.13>


## セキュリティノート

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


## ソースデータベース詳細

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

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

- Nix - croc: normalized package name match | nixpkgs package indexes: pkgs/by-name/cr/croc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - croc - 10.2.2-r11: normalized package name match | Alpine Linux edge package indexes: croc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Easily and securely send things from one computer to another | https://github.com/schollz/croc
- apk - croc-bash-completion - 10.2.2-r11: normalized package name match | Alpine Linux edge package indexes: croc-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for croc | https://github.com/schollz/croc
- apk - croc-doc - 10.2.2-r11: normalized package name match | Alpine Linux edge package indexes: croc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Easily and securely send things from one computer to another (documentation) | https://github.com/schollz/croc
- apk - croc-zsh-completion - 10.2.2-r11: normalized package name match | Alpine Linux edge package indexes: croc-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for croc | https://github.com/schollz/croc
- pacman - croc - 1:11.0.1-1: normalized package name match | Arch Linux sync databases: croc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Easily and securely send things from one computer to another. | https://github.com/schollz/croc
- MacPorts - croc: normalized package name match | MacPorts ports tree: net/croc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - croc: normalized package name match | Chocolatey community package catalog: croc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','cloudquery'
- Scoop - main/croc: normalized package name match | Scoop official bucket manifest trees: bucket/croc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - schollz.croc: normalized package name match | Windows Package Manager source index: schollz.croc from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [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.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [magic-wormhole](https://pkg.so/ja/brew/magic-wormhole/) - Shares pkgdb curated category or tags: cli, file-transfer, networking, secure-transfer.
- [sendme](https://pkg.so/ja/brew/sendme/) - Shares pkgdb curated category or tags: cli, file-transfer, networking, peer-to-peer.
- [magic-wormhole.rs](https://pkg.so/ja/brew/magic-wormhole-rs/) - Shares pkgdb curated category or tags: cli, file-transfer, networking, secure-transfer.
- [portal](https://pkg.so/ja/brew/portal/) - Shares pkgdb curated category or tags: cli, file-transfer, networking, peer-to-peer.
- [lftp](https://pkg.so/ja/brew/lftp/) - Shares pkgdb curated category or tags: cli, file-transfer, networking.
- [duck](https://pkg.so/ja/brew/duck/) - Shares pkgdb curated category or tags: cli, file-transfer, networking.
- [lrzsz](https://pkg.so/ja/brew/lrzsz/) - Shares pkgdb curated category or tags: cli, file-transfer, networking.
- [ncftp](https://pkg.so/ja/brew/ncftp/) - Shares pkgdb curated category or tags: cli, file-transfer, networking.
- [wush](https://pkg.so/ja/brew/wush/) - Local package facts share a topical domain. Shared terms: cli, file, file-transfer, networking, peer.

## Combined YAML source

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


## ソース

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