Unfortunately, using the /give command will only give you a pig spawner.
Chat with our AI personalities
It is give (your name) 92.
The only way to get a command block in Minecraft is to have cheats on in your world.Once you generated a world like that, type in the following command:/give [your Minecraft character's name] 137 [amount up to 64]That will give you a command block.
You can't craft it, it can only be obtained through the /give command.
You can't pick up monster spawners in Minecraft. You can use a mod like too many items to give yourself monster spawners. To break them, the quickest way is a pickaxe
Command blocks currently can not be crafted. In creative mode the command /give YOURPLAYERNAME 137 1 will give you 1 command block (all you need in creative).