macOS
brew install croclocal Homebrew formula metadata
sudo port install crocMacPorts ports tree · net/croc/Portfile · source: api.github.com
brew
Securely send things from one computer to another. Version 10.4.11 via Homebrew; verified 2026-07-08.
install
brew install croclocal Homebrew formula metadata
sudo port install crocMacPorts ports tree · net/croc/Portfile · source: api.github.com
sudo apk add crocAlpine Linux edge package indexes · croc · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#crocnixpkgs package indexes · pkgs/by-name/cr/croc/package.nix · source: api.github.com
sudo pacman -S crocArch Linux sync databases · croc · source: geo.mirror.pkgbuild.com
choco install crocChocolatey community package catalog · croc · source: community.chocolatey.org
scoop install main/crocScoop official bucket manifest trees · bucket/croc.json · source: api.github.com
winget install --id schollz.croc -eWindows Package Manager source index · schollz.croc · source: cdn.winget.microsoft.com
overview
Securely send things from one computer to another
history
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.
security posture
No matching local secret-handling manifest was found for croc. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
croc | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/schollz/croc
install metadata
| Package key | brew:croc |
|---|---|
| Version | 10.4.11 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/croc |
| Homepage | https://github.com/schollz/croc |
| Repository | https://github.com/schollz/croc |
| Upstream docs | https://github.com/schollz/croc#readme |
| License | MIT |
| Source archive | https://github.com/schollz/croc/archive/refs/tags/v10.4.11.tar.gz |
| Last updated | 2026-07-08T06:07:55Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.