Automic VaultAutomic Vault

brew

Install croc with Homebrew, apk, chocolatey, MacPorts, Nix, pacman, scoop, winget

Securely send things from one computer to another. Version 10.4.11 via Homebrew; verified 2026-07-08.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install croc

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install croc

MacPorts ports tree · net/croc/Portfile · source: api.github.com

overview

Package summary

Securely send things from one computer to another

Commands and aliases

  • croc

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
croccliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version10.4.11
manager updated2026-07-08
local dataok
upstreamcurrent
latest detectedv10.4.11

https://github.com/schollz/croc

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:croc
Version10.4.11
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/croc
Homepagehttps://github.com/schollz/croc
Repositoryhttps://github.com/schollz/croc
Upstream docshttps://github.com/schollz/croc#readme
LicenseMIT
Source archivehttps://github.com/schollz/croc/archive/refs/tags/v10.4.11.tar.gz
Last updated2026-07-08T06:07:55Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecroc
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

croc

nix profile install nixpkgs#croc
  • normalized package name match
  • Matched by: Croc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cr/croc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

croc 10.2.2-r10

Easily and securely send things from one computer to another

https://github.com/schollz/croc

sudo apk add croc
  • License: MIT
  • Architecture: x86_64
  • Source Package: croc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Croc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: croc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

croc-bash-completion 10.2.2-r10

Bash completions for croc

https://github.com/schollz/croc

sudo apk add croc-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: croc
  • normalized package name match
  • Matched by: Croc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: croc-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

croc-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-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: croc
  • normalized package name match
  • Matched by: Croc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: croc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

croc-zsh-completion 10.2.2-r10

Zsh completions for croc

https://github.com/schollz/croc

sudo apk add croc-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: croc
  • normalized package name match
  • Matched by: Croc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: croc-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

croc 1:10.4.4-1

Easily and securely send things from one computer to another.

https://github.com/schollz/croc

sudo pacman -S croc
  • License: MIT
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Croc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: croc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

croc

sudo port install croc
  • normalized package name match
  • Matched by: Croc
MacPorts ports tree · api.github.com · MacPorts ports tree: net/croc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

croc

choco install croc
  • normalized package name match
  • Matched by: Croc
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: croc from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','cmake.portable'
Scoop95%

main/croc

scoop install main/croc
  • normalized package name match
  • Matched by: Croc
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/croc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

schollz.croc

winget install --id schollz.croc -e
  • normalized package name match
  • Matched by: Croc
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: schollz.croc from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment