macOS
brew install croclocal Homebrew formula metadata
安装
brew install croclocal Homebrew formula metadata
sudo apk add crocAlpine Linux edge package indexes · croc · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#crocnixpkgs package indexes · pkgs/by-name/cr/croc/package.nix · 来源: api.github.com
sudo pacman -S crocArch Linux sync databases · croc · 来源: geo.mirror.pkgbuild.com
choco install crocChocolatey community package catalog · croc · 来源: community.chocolatey.org
scoop install main/crocScoop official bucket manifest trees · bucket/croc.json · 来源: api.github.com
winget install --id schollz.croc -eWindows Package Manager source index · schollz.croc · 来源: cdn.winget.microsoft.com
概览
Securely send things from one computer to another
历史
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.
安全态势
没有找到 croc 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
croc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/schollz/croc
安装元数据
| 软件包键 | brew:croc |
|---|---|
| 版本 | 10.6.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/croc |
| 主页 | https://github.com/schollz/croc |
| 仓库 | https://github.com/schollz/croc |
| 上游文档 | https://github.com/schollz/croc#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/schollz/croc/archive/refs/tags/v10.6.0.tar.gz |
| 最后更新 | 2026-07-23T20:39:56Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
croc
nix profile install nixpkgs#croccroc 10.2.2-r10
Easily and securely send things from one computer to another
https://github.com/schollz/croc
sudo apk add croccroc-bash-completion 10.2.2-r10
Bash completions for croc
https://github.com/schollz/croc
sudo apk add croc-bash-completioncroc-doc 10.2.2-r10
Easily and securely send things from one computer to another (documentation)
https://github.com/schollz/croc
sudo apk add croc-doccroc-zsh-completion 10.2.2-r10
Zsh completions for croc
https://github.com/schollz/croc
sudo apk add croc-zsh-completioncroc 1:10.4.4-1
Easily and securely send things from one computer to another.
https://github.com/schollz/croc
sudo pacman -S croccroc
sudo port install croccroc
choco install crocmain/croc
scoop install main/crocschollz.croc
winget install --id schollz.croc -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.