mrkeyoor.comAsk

schollz/croctested 24 Nov 2026commit d77d59a

croc review

Use croc for occasional code-based handoffs when the recipient can follow the receiving procedure and you can check delivery.

    Failedinstall
      Dev Toolsevaluationupdated 24 Nov 2026
      +31stars / 7d

      croc is the open-source file-transfer tool maintained at schollz/croc. It connects computers through a shared code phrase and uses that phrase to establish an encryption key.

      Verdict

      Use croc for occasional code-based handoffs when the recipient can follow the receiving procedure and you can check delivery. Skip it for unattended replacement of changing files if demonstrated delivery is your deciding requirement. Our source-install step at d77d59a failed after 238 seconds with exit 1; historical reports separately describe stalls and a missed changed file.

      croc infographic: transfer files between computers with a private code, plus our test result and who it suits
      Tested 24 November 2026: apt-get install croc failed after 3.1 s. Before that: source install failed.

      We ran it

      Lab card: what happened when we ran croc
      Lab card from our sandbox run
      Screenshot of croc (getcroc.com)
      getcroc.com
      Install✗ · 238s
      Build—
      Repo520 files~83,721 lines of source · 6.9 MB · 8 CI workflows · Dockerfile

      Answers from our run

      Does croc build from source?

      The dependency install failed, and the project has no separate build step. We cloned commit d77d59a into a clean Debian container with 3 CPUs and no project-specific setup.

      Who should not use croc?

      People choosing a transfer tool primarily for unattended replacement of changing files.

      What are the alternatives to croc?

      Magic Wormhole, Tailscale Taildrop. Use croc for occasional code-based handoffs when the recipient can follow the receiving procedure and you can check delivery.

      Setup1/5In our 2026-11-24 run the README’s “apt-get update && apt-get install -y croc” failed with “E: Unable to locate package croc”, and our source install failed.Editor’s note: Source installation stopped on a dependency download, and apt stopped at package lookup; neither attempt produced a working transfer.
      Docs4/5The README has an install section (“No-install”) and a usage section (“Usage”); we did not run its quickstart ourselves.Editor’s note: The README describes installation and receiving routes, but the recorded attempts do not support a numerical assessment of their usability.
      Community5/5Last push on 2026-11-23, 41,024 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: Named users and the maintainer discuss failures and workarounds, without enough evidence to assess current support capacity numerically.
      Maturity4/5Latest release v11.6.6 on 2026-11-21 and repository created 2017-10-17.Editor’s note: Historical reports describe resume work and changed-file concerns; the current measurements contain no successful transfer or regression result.

      How we score

      Discussed on

      1. hnCroc: Easily and securely send things from one computer to another300 points
      2. hnCroc: Easily and securely send things from one computer to another150 points
      3. hnCroc: Securely transfer files and folders between two computers52 points
      4. hnCroc: Easily and securely send things from one computer to another6 points
      5. hnCroc: Easily and securely send things from one computer to another4 points

      Who it’s for

      Developers arranging occasional file or folder handoffs with another person who can enter a private code.
      Operators prepared to configure a private relay when public infrastructure is unsuitable.
      People choosing between CLI and browser receiving workflows.

      Who it’s NOT for

      People choosing a transfer tool primarily for unattended replacement of changing files.
      People expecting croc to be available in a fresh Debian container without configuring a package source.
      People who need CrocApp transfers to continue reliably after leaving the app on iOS.

      Setup reality

      Our November 24, 2026 source-install step at d77d59a failed with exit 1 after 238 seconds. The configured sandbox had 3 CPUs, 8 GB RAM and image golang:1.24-bookworm. The log attempts a Go 1.27.3 download, then reports a proxy.golang.org dependency archive stream error.

      A separate apt run at commit d77d59a8931d used a fresh debian:bookworm container with 2 CPUs, 4 GB RAM, no published ports and no secrets. Cloning took 1 second. Installation failed after 3.1 seconds with exit 100 and "E: Unable to locate package croc". Teardown completed successfully.

      The current README explains repository setup before apt, plus a downloaded-package route when a release includes the relevant package. On Linux and macOS, it documents receiving with CROC_SECRET to keep the code out of process arguments.

      Our source-install step at commit d77d59a failed after 238 seconds with exit 1. Use croc for occasional file handoffs with someone who can exchange a private code and follow the receiving procedure. Skip it for unattended replacement of changing files if demonstrated delivery is your deciding requirement. The installation result and the versioned transfer reports below answer different parts of that decision: getting the program running, completing a handoff and recognizing a changed destination file.

      croc uses a shared code phrase to establish an encryption key. The upstream repository is schollz/croc, and its README describes file and folder transfers, interrupted-transfer resume and browser interoperability. That makes the recipient's workflow a useful starting point: whether they can run a command, receive in a browser or use an application with its own controls. Search for schollz/croc when looking for software help.

      What people use croc for

      Raxis reports transfers above 6.5 GB, while issue #437 describes a roughly 20 GB movie that needed repeated restarts.

      Person and task What happened What that means for you
      Authorized penetration testing Nathan Anderson at Raxis reports sending files above 6.5 GB without issues during red team work. He also describes running a private relay.
      Large work transfers Project author schollz says he regularly transfers hundreds of gigabytes. His preference for fast hashing comes from that workload.
      Movie between computers DanCousins reported a roughly 20 GB movie stalling repeatedly, including at 95%, on v9.4.2. He restarted and resumed, but had to monitor the transfer.
      Seedbox to personal computer tarikdsm reported recurring stalls above approximately 1 GB with v9.5.1. The reports covered Linux and Windows receivers.
      Selected Windows files and folders camjac251 built Windows context-menu integration using OpenWithPlusPlus, while warning it might contain bugs. The integration adds a recipient workflow outside the ordinary terminal procedure.

      The movie report explains the practical cost of intervention. DanCousins reported stalls at 17%, 25% and 95%, then described restarting and resuming the transfer. Reloading the transfer also took time in that account. Raxis describes successful professional use with a private relay, while DanCousins used a public relay. Those details give readers concrete workflows to compare: a supervised handoff during an engagement and a large transfer that required attention near completion.

      What happened when we ran it

      Our November 24, 2026 source-install step failed after 238 seconds with exit 1 at commit d77d59a.

      The log first says go: downloading go1.27.3 (linux/amd64), then ends with a failed dependency archive request to proxy.golang.org. The recorded error belongs to dependency fetching. Keeping the command stage attached to the error distinguishes this result from the stalled transfers described by users elsewhere on this page.

      Recorded observation Result
      Source installation Failed, exit 1, 238 seconds
      Download named in the failure 9fans.net/go@v0.0.8-0.20250307142834-96bdba94b63f
      Remote endpoint in the log proxy.golang.org
      Error text stream error: stream ID 675; INTERNAL_ERROR; received f
      Checkout scan 520 files, approximately 83,721 source lines, 6.9 MB
      Repository signals 8 CI workflow files, a Dockerfile, no tests directory detected

      It ran as root inside the container for apt. These are separate setup measurements from the 238-second source-install result.

      Recorded apt step Result
      Clone 1 second
      Install command apt-get update && apt-get install -y croc
      Installation Failed after 3.1 seconds, exit 100
      Finding E: Unable to locate package croc
      Teardown Completed successfully

      Our separate apt attempt stopped at "Unable to locate package croc". Its recipe described apt install croc as the README route, but the current README puts pkg.haus repository setup before that command. It also describes downloading an appropriate upstream .deb when a release includes one. After the failed lookup, teardown completed successfully. The concrete result is a failed lookup in that container's configured repositories.

      Where people get stuck: stalls need a case-specific response

      Issue #437 records stalled transfers on v9.4.2 through v9.5.1, with restarts and a wired-network change among the responses.

      Symptom and reporter Response recorded Recorded outcome
      DanCousins: movie transfer freezes Restart and resume Required attention, including after a stall at 95%.
      tarikdsm: seedbox transfers stall above roughly 1 GB on v9.5.1 Repeated restarts Reports covered Linux and Windows receivers in issue #437.
      yan-foto: transfer estimate freezes Change both endpoints to wired LAN yan-foto reported that switching both endpoints from Wi-Fi to wired LAN solved their stalled transfer.
      Mac receiver stays at connecting Rosetta worked for one participant Issue #313 also includes continued failures after source builds.
      Waiting sender spins on EOF Throttle loop, then connection pinging The maintainer described those changes in issue #168.
      IPv6-only sender fails Investigation in the issue thread Issue #196 records "unexpected end of JSON input" on the receiver.

      The reports include useful diagnostic details beyond file size. yan-foto described a frozen estimate after rates around 8 to 10 MB/s, followed by success when both endpoints moved from Wi-Fi to LAN. In the same thread, jnko described 16 files totaling 8.9 GB and more than 25 failures in succession. Those are named users' observations in issue #437, with different workloads and outcomes rather than one shared diagnosis.

      Issue #89 also describes an early directory-transfer failure: croc tried to create its temporary archive in the source directory, where the sender lacked write access. The maintainer called it a bug and reported a correction during the v4.0 release work. That failure concerns archive creation before delivery, so a matching troubleshooting report should include the source directory and its permissions alongside the transfer command and version.

      Changed-file detection deserves a separate check

      Issue #368 describes a changed file being skipped in v8.6.12-c373b38 because croc considered the two files identical.

      The example used 10 MB of zero bytes, one character and another 10 MB of zero bytes. After the first transfer, the reporter replaced the character and sent the file again. The recipient retained the old contents. The discussion identifies sampled hashing, which reads selected parts of a file, as the reason the changed byte could escape detection. This is a different operation from encrypting bytes while they travel between computers.

      schollz reported committing a file-size check in that discussion. The character replacement kept the two files the same size, so size alone cannot distinguish them. The current README documents croc send --hash imohash SOMEFILE for faster hashing. For repeated transfers of disk images or other important binary files, comparing whole-file checksums at both ends gives the recipient a separate check of the final contents before replacing the original.

      A private code and a private relay solve different problems

      The README tells Linux and macOS receivers to use CROC_SECRET to avoid leaking the secret through the process name.

      The documented receiving form is CROC_SECRET='code-phrase' croc, with the generated invitation substituted for code-phrase. Raxis also describes running croc and entering the code at its prompt. Exchange the invitation through a private channel. PAKE means password-authenticated key agreement: the shared phrase helps the endpoints establish the key used for encryption. Protecting that phrase is part of arranging the handoff, including on a shared Unix computer where command arguments can expose it.

      Raxis documents choosing a private relay and disabling local relaying during authorized security engagements. Its article describes broadcast UDP discovery traffic as conspicuous on the local subnet. The documented command combines relay selection with send --no-local. For workplace transfers, that account provides a concrete reason to discuss the permitted network path with the operator: local discovery traffic and the choice of a remote relay affect different parts of the connection.

      In issue #521, schollz opposed Debian inclusion because of server costs. The packaging contributor also stopped work after raising security concerns. That discussion connects package distribution to the cost of running relay infrastructure. The current README separately documents third-party Debian packages through pkg.haus and upstream package downloads for releases that include them. Distribution instructions and responsibility for the relay are therefore separate decisions for someone operating croc at work.

      CrocApp, the browser and a fork have different boundaries

      CrocApp requires croc 11 or newer on the other device. Upstream lists it as an unofficial application for Mac, iPhone and iPad.

      CrocApp's troubleshooting guide describes the connection sequence: start sending first, then enter the receiving code. A receiver that starts first waits up to 5 seconds for the sender. The guide also says to use compatible versions and the same relay; with an older client or different relay, the app can keep waiting. These instructions belong to CrocApp's receiving workflow, including the application's handling of connection messages.

      CrocApp says to choose Replace for partial files when resuming; Keep Both saves another copy. Its guide advises keeping transfers in the foreground because iOS can stop them after the user leaves the app. It also says its Receive in Your Browser route fails for a sender using a custom relay or Local Network Only. The current upstream README separately advertises browser-to-CLI transfers at getcroc.com and documents configuring a self-hosted web client.

      Rough-Riders/Croc is a divergent fork of schollz/croc. Its page shows a branch 2076 commits ahead and 2595 commits behind upstream main. That repository, upstream's CLI and CrocApp have distinct documentation homes. Use the repository name when choosing instructions, and use CrocApp's guide for its application controls. Familiar command names alone do not identify which project's instructions describe the installed client.

      croc vs Magic Wormhole, rsync and Taildrop

      Taildrop serves your own Tailscale devices; croc and Magic Wormhole use shared codes for handoffs between computers.

      Choice Why it belongs in the comparison When to consider it
      croc The requester in issue #89 found SSH setup difficult for the recipient and wanted resume. An occasional handoff where exchanging a code fits both people.
      Magic Wormhole Magic Wormhole transfers files and directories using matching codes. Your recipient already uses Wormhole clients.
      rsync over SSH The same requester considered it but struggled with recipient SSH setup and NAT. You already have an accessible SSH destination to evaluate.
      Tailscale Taildrop Taildrop is limited to transfers between your own personal devices. Both endpoints are yours and already run Tailscale.

      MikeDeanLive said on X that they moved from frequent croc use to Taildrop for their own devices. Tailscale's documentation requires both devices to run Tailscale and excludes another user's devices, including those on the same network. It also labels Taildrop an alpha feature requiring network opt-in. That ownership rule directly affects the choice: sending to your own computer and sending to a colleague are different recipient arrangements.

      Magic Wormhole's README describes single-use, human-pronounceable codes and a CLI that transfers files, directories or short text. The early croc comparison in issue #89 arose because a requester wanted resume and found SSH setup difficult for the recipient. Those sources support comparing recipient procedures: which client the recipient already has, whether entering a code is practical and whether an existing SSH route is available.

      What the other reviews get wrong

      WhatIsGitHub promises operating-system independence, and LinuxSecurity attributes faster transfers categorically to croc's relay operation.

      WhatIsGitHub says croc works regardless of the operating system on either computer. The upstream README names Windows, Linux, Mac and Browser, while issue #313 records both successful Mac transfers and continuing receiving failures. A platform list describes the intended reach of a project. The useful correction is to retain the named platforms and report the specific receiving symptoms alongside their versions and machines.

      LinuxSecurity attributes faster transfers to croc acting as a relay server. The numerical comparison here is narrower: ferebee reported averages of 78 seconds with multiplexing and 92 seconds without it for a 670 MB file. Both endpoints ran macOS, the receiver had a 100 Mbit/s downstream DSL connection and the user made multiple runs. Multiplexing uses multiple connections; the maintainer described its benefits as potentially operating-system specific.

      The X recommendation by callebtc omits the send subcommand. Upstream usage and Raxis's walkthrough specify croc send, so a concrete sending example is croc send report.zip. The recipient can run croc and enter the generated invitation at the prompt, as Raxis describes. On Linux and macOS, upstream also documents the CROC_SECRET receiving form to keep the invitation out of process arguments.

      Questions people ask

      Send with croc send report.zip, then have the recipient run croc and enter the generated code, as Raxis describes.

      How do I use croc to transfer files between computers?

      The sender uses croc send with the file path; the recipient enters the generated code. Raxis describes that sequence using the default relay route. For Linux and macOS, upstream documents receiving through CROC_SECRET. If you select a private relay, arrange matching relay settings at both endpoints before the handoff; CrocApp's troubleshooting guide also identifies mismatched relays as a cause of waiting connections.

      Can croc replace a USB drive for transferring files?

      croc transfers files between connected computers, which is the handoff Raxis demonstrates. A USB drive also stores files while disconnected. The Chinese-language Bilibili results include a USB-drive-replacement tutorial by 玩转私有云, alongside other croc usage videos. Those video listings identify tutorial topics; the practical choice is whether you need a connected handoff or physical storage you can carry between machines.

      Does croc support resuming an interrupted transfer?

      The current README lists interrupted-transfer resume, and issue #89 records schollz adding it after a request. The stall reports above describe users restarting and resuming large transfers. For CrocApp, the receiving choice matters: its guide says to retry the same transfer and choose Replace for the partial file. Keep Both creates another copy instead of continuing that partial destination.

      Why does croc freeze or stall during large file transfers?

      Issue #437 records frozen progress and repeated restarts, while yan-foto reports success after moving both endpoints from Wi-Fi to LAN. DanCousins's v9.4.2 report involved a roughly 20 GB movie and stalls at three different percentages. Keep the version, relay, network and progress behavior in a troubleshooting report; those details distinguish the cases collected in the stalls section above.

      Is there a croc GUI for nontechnical users?

      Upstream documents a browser client and lists unofficial CrocApp. The older GUI discussion in issue #197 includes requests about a discontinued interface and a contributor's Windows context-menu integration. For a new recipient, the current browser and CrocApp documentation describe concrete receiving procedures. CrocApp adds its own version, relay and foreground-operation requirements, covered in the application section above.

      Can I send and receive files through Windows context menus?

      camjac251 built send and receive entries using OpenWithPlusPlus in issue #197. The contributor described selecting files or folders in File Explorer, right-clicking and sending them, while warning that the integration might contain bugs. Installing that additional integration is a separate step from installing croc. Its source is the contributor's instructions in the GUI discussion, rather than an upstream promise about default File Explorer menus.

      Why does croc use high CPU while waiting for a receiver?

      Issue #168 describes an older waiting connection consuming 100% CPU. The maintainer first throttled an EOF loop, then introduced connection pinging for v6.4.0 so the relay could track connections and close them when users exited. That sequence explains the historical response. The relevant troubleshooting details are the installed version and waiting-session logs, especially whether repeated EOF messages accompany the CPU use.

      Does croc work when one computer has only IPv6 connectivity?

      Today's README advertises IPv6-first behavior with IPv4 fallback. Issue #196 describes a receiver failing with "unexpected end of JSON input" when the sender had public IPv6 connectivity but no IPv4 connection. Both machines were on the same local network. That specific topology and error make the historical report useful when investigating an IPv6-only handoff, alongside the current client's documented transport behavior.

      Why does croc hang at connecting on macOS or an M1 Mac?

      Issue #313 records receiving hangs on both M1 and Intel Macs. One participant succeeded through Rosetta, while others continued to report trouble after source builds. The thread also includes a successful self-transfer on a 2019 Intel MacBook Pro using v8.6.8-92ab62d. Report the actual machine, client version and connection message when matching your symptom to that discussion; the M1 wording in its title covers only part of the reports.

      Why does croc transfer a file over multiple sockets?

      schollz describes a possible speed benefit, and ferebee's macOS comparison averaged 78 seconds with multiplexing against 92 seconds without it. The file was 670 MB, the receiver used a 100 Mbit/s downstream DSL connection and the user made multiple runs. The comparison measures those two settings in that setup. The correction section above retains the endpoints and network alongside the timings.

      Can croc hash the entire file when checking whether it already exists?

      The current README documents selecting imohash for faster hashing, while issue #368 discusses hashing the whole file to catch every difference. The issue's example changed one byte without changing file size. For checking delivered contents, compare whole-file checksums at the two endpoints before replacing the original; that check addresses the actual bytes rather than relying solely on the transfer's destination-file decision.

      How does croc determine which blocks to resend when resuming?

      In issue #368, schollz describes looking for zero-filled blocks after file hashes differ. The discussion separates that resend decision from the earlier decision that two files are already identical. Its demonstrated problem occurred at the identity comparison: the changed file was skipped. That distinction explains why successful interruption recovery and reliable detection of a changed existing file are separate questions for a repeated-transfer workflow.

      What we have not tested yet

      Our November setup attempts ended before a successful file transfer, leaving no lab transfer-speed, resume-reliability or cross-platform compatibility result.

      The measured checkout was d77d59a; repository metadata lists v11.6.6 as the latest release, dated November 21, 2026. The current README describes branch behavior, rather than an executed example from that release. We have not tested a release binary, browser client, CrocApp, custom relay, IPv6-only delivery, background interruption or the changed-file example against the current release. The receiving and sending examples above come from documentation; no corrected command was executed for this revision.

      The source-install log does not identify the cause of the dependency stream failure or establish the actual running Go and operating-system versions. Its image label records configuration, and its toolchain-download line records an attempted download. Build, test and audit results are absent. The scan's lack of a tests directory says nothing about Go test files elsewhere in the checkout. Numerical product ratings would require evidence beyond these setup outcomes, so all four dimensions remain unassessed.

      Historical issue closure, proposed fixes and reported workarounds do not demonstrate current resolution. This applies to stalls, macOS receiving, waiting-session CPU use, IPv6-only connections, temporary archive creation and sampled-hash false equality. The file-size change in issue #368 is not a successful retest of its equal-size example. The Debian packaging discussion is not a current vulnerability inventory or security audit, and neither it nor the failed apt lookup settles every documented installation route.

      The user accounts and timing comparison do not establish comparative speed or reliability against Magic Wormhole, rsync or Taildrop. Issue #89's historical impression does not settle Magic Wormhole's current resume support. CrocApp's browser restriction belongs to its documented receiving route, rather than every self-hosted browser deployment. The Bilibili listings provide titles rather than observed transfer outcomes, and no demand, ranking or search-volume measurement accompanies this review.

      For an unattended workflow, the useful next step is a representative transfer followed by interruption, resume and whole-file checksum comparison at both ends. Keep the original until that comparison succeeds. This page assesses text, source extracts and recorded setup results; rendered layout, accessibility, automatic related links, recommendation modules and template behavior were outside that assessment.

      Alternatives

      ProjectWhat it isPick it when
      Magic Wormhole gh↗A file and directory transfer tool using matching codes at both endpoints.Choose it when your recipient already uses Wormhole and you want to keep that workflow.
      Tailscale TaildropFile transfers between your own personal devices running Tailscale.Choose it when both devices belong to you and already run Tailscale; its documentation excludes transfers to another user's device.

      What people are saying

      1. [github-trending] schollz/croc

      Sources

      1. croc upstream README
      2. Magic Wormhole upstream README
      3. Tailscale Taildrop documentation
      4. Raxis: Croc for secure data exfiltration
      5. Changed-file detection discussion
      6. Large-transfer stall reports
      7. CrocApp troubleshooting

      More dev tools reviews