Secure file transfer tool that enables any two computers to transfer files using end-to-end encryption and relay servers
croc is a command-line file transfer tool that enables secure file sharing between any two computers without requiring local servers or port forwarding. It uses password-authenticated key agreement (PAKE) to establish end-to-end encryption and relay servers to connect devices across different networks.
The tool supports cross-platform transfers between Windows, Linux, and Mac systems. Key capabilities include transferring multiple files and folders, resuming interrupted transfers, IPv6-first connectivity with IPv4 fallback, and proxy support including Tor. Files are sent using a generated code phrase that recipients use to retrieve the transfer.
croc targets users who need to transfer files between computers across different networks securely. It handles various use cases including piping data through stdin/stdout, sending text snippets, displaying QR codes for mobile devices, and custom relay server deployment. The tool can be used in automation scenarios with quiet mode and supports configuration options like custom encryption curves and hash algorithms.
# via Homebrew
brew install croc
# via Curl script
curl https://getcroc.schollz.com | bash
# via Go install
go install github.com/schollz/croc/v10@latest
