# 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
- **バージョン:** 11.0.1
- **ソース概要:** Securely send things from one computer to another
- **ホームページ:** <https://github.com/schollz/croc>
- **リポジトリ:** <https://github.com/schollz/croc>
- **最終更新:** 2026-07-31T20:45:31Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- croc (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 11.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 を使えるよう、Nucleus パッケージメタデータはここに公開されています。


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

- 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


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