# croc

> Easily and securely send things from one computer to another

Source: https://talira.ai/catalog/croc-8mfzf0zm
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Web app
- Categories: [storage / file transfer / peer to peer](https://talira.ai/categories/storage/file-transfer/peer-to-peer)
- Platforms: windows, macos, linux, web, docker, cli[^3]
- Licence: MIT[^4]
- Pricing: Free and open source[^3][^4]
- Pricing notes: Free and MIT. The README says the project's future depends on community support through GitHub Sponsors.
- Free tier: yes[^3][^4]
- Self-hostable: yes[^3]
- Cloud hosted: yes[^3]
- Creator: Zack (schollz)

croc is a command-line tool that sends files and folders between any two computers: `croc send` prints a code phrase, and typing it on the other machine starts an end-to-end encrypted transfer keyed by PAKE (password-authenticated key agreement). It needs no port forwarding or server of your own, connecting peer to peer over an in-process [Tailscale](https://talira.ai/catalog/tailscale-n9z481td.md) [WireGuard](https://talira.ai/catalog/wireguard-5kp2vca6.md) network where NAT traversal works and falling back to a public relay, and it resumes interrupted transfers, sends several files at once, pipes stdin and stdout, sends text and works through SOCKS5 proxies such as Tor. A browser client at getcroc.com sends to and receives from the CLI, `croc store` uploads client-side encrypted files for later download, and `croc ssh` shares a terminal. You can run your own relay (`croc relay` or the [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) image) and croc-web site. It is written in Go and MIT-licensed.

## Links

- Website: https://getcroc.com/
- GitHub: https://github.com/schollz/croc

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/croc>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/croc>[^2]

## Problems it solves

- send a large file from my laptop to a friend's computer without uploading it to a cloud drive
- copy a folder between two machines on different networks without setting up port forwarding
- transfer files from a remote server to my Windows PC with one command and a short code
- send files end-to-end encrypted so the relay in the middle can't read them
- resume a huge file transfer that dropped halfway through
- pipe the output of a command straight to another computer
- send a file from the terminal to someone who only has a web browser
- scan a QR code on my phone to receive a file sent from my computer
- run my own relay server for file transfers inside my company
- send a file through Tor or another SOCKS5 proxy
- a command-line alternative to WeTransfer for sending big files
- leave encrypted files for someone to download later with an expiry and download limit
- share my terminal with a colleague without giving them SSH access
- send a URL or snippet of text from one computer to another quickly

## Features

- code phrase transfers between any two computers
- end-to-end encryption with PAKE, with a choice of elliptic curves
- peer-to-peer over Tailscale userspace WireGuard (DERP) with croc relay fallback
- resumes interrupted transfers
- multiple files and folders, with exclusions
- stdin and stdout piping and text sending
- QR codes that open the browser client
- browser client at getcroc.com compatible with the CLI
- client-side encrypted stored transfers with expiry and download limits
- croc ssh shared terminals with read/write and read-only invitations
- SOCKS5 proxy support (Tor), IPv6-first with IPv4 fallback
- self-hosted relay (croc relay or Docker) and self-hosted croc-web
- secret passed in an environment variable on Linux and macOS to keep it out of the process list
- built-in update helper (croc update, croc-update)

## Ways to run it

### croc with public relays

Hosted by the maker, MIT. Price: free.[^3]

Only in this edition:

- a pool of three public relays that generated codes pick from
- the browser client at getcroc.com
- a default storage service for croc store

Pricing: https://github.com/schollz/croc#readme

### Self-hosted croc relay

You run it, MIT. Price: free.[^3]

Only in this edition:

- an optional relay password
- your own handshake and rate limits

You arrange:

- a server with at least two open TCP ports (9009-9013 by default)
- a croc-web site (Linux amd64 build) if browser links and QR codes should point at your own
- a storage service for croc store, selected with --store-url

Self-hosting docs: https://github.com/schollz/croc#self-host-relay

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by Zack (schollz)

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [DashBeam](https://talira.ai/catalog/dashbeam-55hm9re5.md): Share files nearby and beyond
- [PairDrop](https://talira.ai/catalog/pairdrop-6s02fe2f.md): Transfer Files Cross-Platform. No Setup, No Signup.
- [LocalSend](https://talira.ai/catalog/localsend-mp4qcawg.md): An open-source cross-platform alternative to AirDrop
- [ShareDrop](https://talira.ai/catalog/sharedrop-dskp5atj.md): Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
- [Snapdrop](https://talira.ai/catalog/snapdrop-kdvej2c7.md): Local file sharing in your browser. Inspired by Apple's Airdrop.
- [OnionShare](https://talira.ai/catalog/onionshare-76d1p46c.md): Share files, host websites and chat anonymously over Tor

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^3]: https://github.com/schollz/croc/blob/main/README.md (checked 20 Nov 2026)
[^4]: https://github.com/schollz/croc/blob/main/LICENSE (checked 20 Nov 2026)
