spin base64 [OPTIONS] <file>
encode (or -e): Encode a string with base64decode (or -d): Decode a string with base64spin base64 -e myfile.txt
spin base64 decode myfile.txt
This command runs the base64 command on your system, but it standardizes the syntax between Linux and macOS. This means you can use this command on both systems without having to remember the different syntax.