I feel like I'm slowly becoming a Nix shill, but... Nix is a good alternative as well.
Install Nix in one command:
sh <(curl -L https://nixos.org/nix/install) --no-daemon
Then run Magic Wormhole in one command, without even having to install it: nix-shell -p magic-wormhole --run 'wormhole send myfile'