Question: how to get command blocks in minecraft on switch?
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.