How do I paste commands into Command Blocks on Minecraft? [duplicate]

Solution 1:

Use cmd + C to copy or cmd + X to cut your code into the clipboard and then paste it into your command block using cmd + V, not Ctrl + V.
The Ctrl + C/X/V shortcuts are the Windows equivalent of them.