Question: how to get a command block in minecraft step by step?
Answer: Place the Command Block. Before you can program and use the command block, you need to place the command block on the ground. ... 
Add a Redstone Device. Next, you need to add a redstone device next to the command block. ... 
Program the Command Block. ... 
Activate the Command Block.