Paste rich text in Mac OS. Initial code from https://abyssdomain.expert/@filippo/113192208139456981
First install Go.
If you just want to install the binary to your current directory and don't care about the source code, run
GOBIN="$(pwd)" go install github.com/earthboundkid/richpaste@latest