How to use commands in minecraft
Eleanor Gray
Published Mar 23, 2026

In Minecraft, there are cheats and game commands that you can use to change game modes, time, weather, summon mobs or objects, or find the seed used by the World Generator. Here is the list of the different game commands available in Minecraft Java Edition (PC/Mac), Pocket Edition (PE), Windows 10 Edition and Education Edition. Game Mode Commands
There are other answers below:
Open Minecraft. Select the world you want to enable cheats on. Go to the world’s settings. Scroll down to the Cheats section. Turn the Activate Cheats switch on. Confirm you want to enable cheats. Use commands in Minecraft. With cheats enabled, you have access to all the useful commands that Minecraft supports. To use a cheat, follow these steps.
OverviewUsageIssuesIssues relating to “Commands” are maintained on the bug tracker. Report issues there. · Text under CC-BY-SA license
MethodTipsWarnings In the regular console, type /help for a list of commands. Type /help (command name) to learn about a specific command. You can also find more information at Minecraft wikis and community websites. Thanks! Helpful 0 Not Helpful 0To turn off the chat notifications for a successful command, open the regular console and enter /gamerule commandBlockOutput false. Thanks! Helpful 0 Not Helpful 0
How do you turn on cheats in Minecraft Education Edition? To turn on cheats in the Education Edition of Minecraft, you need to create a new world and click on the Cheats option. This option looks like a switch and the switch should be set to the right to turn Cheats on. Now you will be able to use the cheat commands in this Minecraft world. Turning on cheats through this menu …
Just add the / before the command and it will work the same. #In Game Admin Command: /whitelist add AshKetchum /whitelist remove AshKetchum #In Control Panel Console Command: whitelist add AshKetchum whitelist remove AshKetchum Ban Players. The Ban players command can work with both usernames and IP addresses.
To get started with these Minecraft commands, simply hit the forward slash key (/) to open the chat window then continue typing the command. You can use the …
We’ll show you 8 different ways to use the /kill command including different commands to… Watch this video to learn how to use the /kill command in Minecraft.
Command Effect /tp @a @s: Teleport all players to you. /tp @p @s: Teleport the nearest player to you. /tp @e[type=pigs] @s: Teleport all pigs to you. /tp @s ~ ~100 ~ Teleport yourself 100 blocks in the air. execute in minecraft:the_nether run teleport ~ ~ ~ Teleport to the same coordinates but in the Nether (Java Edition only).
music queue