How to use commands in Minecraft

How to use commands in Minecraft: Among the video games, you are most passionate about, Minecraft is definitely in first place! In fact, you dedicate a large part of your free time to the famous title of Mojang and you have explored its vast world, experiencing many different adventures. Now you would like to make this exploration easier using the commands but, unfortunately, you have no idea how to do it.

How do you say? Is this actually the case? Then you will be happy to know that, if you want, I am here to give you a hand and explain how to do it. In today’s guide, in fact, I will show you how to use the commands in Minecraft on all the platforms on which the game is available: PC, smartphone, tablet and console.

That’s exactly what you were looking for, am I right? So let’s not waste any more precious time and let’s get to work immediately! What you have to do is sit down comfortably and carefully read all the tips that I will give you in this guide, in order to put them into practice! Having said that, I just have to wish you a good read and, above all, a good time!


  • How to use commands in Minecraft for PC
    • Minecraft Java Edition
    • Minecraft Bedrock Edition
  • How to use commands in Minecraft for smartphones and tablets
  • How to use commands in Minecraft for console

How to use commands in Minecraft for PC

If you want to know how to use the commands on Minecraft for PC, in the next chapters I will show you in detail how to do this both on the Java Edition, available for Windows, macOS and Linux, and on the Bedrock Edition for Windows 10 (the same also available for mobile devices and game consoles). If you want to know more about these versions of Minecraft, I suggest you consult my guide dedicated to the subject.

Minecraft Java Edition

If you have Minecraft Java Edition, you can easily enable the command console, which is useful for entering command strings, using two different methods.

First, you can enable the command console before creating a new world in Minecraft. To proceed in this way, after starting the game, select the items Single player> Create a new world, click on the Commands button, in order to change the wording to Yes, and press the Create a new world button.

Alternatively, if you have already created a world in Minecraft on which you did not initially enable the cheats, press the Esc key to access the pause menu. At this point, click on the Open in LAN button and press on the Commands item, to change it to Yes. Then confirm the operation by pressing the Open the world in LAN button.

I warn you that, in case you have not enabled the command console from the beginning of the creation of the world, the only way to activate it is by opening the world in LAN, as I explained to you in the previous paragraph. This procedure, however, will only allow you to enable the cheats temporarily (i.e. as long as the game session remains open).

This means that you will, from time to time, enable the LAN world to activate the command console. If, on the other hand, you have enabled the latter to create the world, this will always be active, even when exiting and re-entering the game world.

Now that you have enabled the console, go back to the game world and press the T key on the keyboard, in order to open the chat screen useful for entering commands. At this point, all you have to do is type the character /, followed by the name of the command.

At the first typing of the character /, you will be shown in a box above the chat, in alphabetical order, all the commands you can enter. For example, if you want to change the game mode from Survival to Creative, you have to type the command / gamemode, followed by the parameter creative, forming the complete string / gamemode creative.

Once this is done, you just have to press the Enter key on your keyboard, in order to send the command and perform the requested operation. A message will notify you that the command has been successfully sent. In case of failure, however, you will be notified of an error, highlighting the wrong argument of the text string entered.

An example of using the command console can be found in my guide on how to teleport on Minecraft, in which I told you about how to move from one place to another in the world of Minecraft knowing only the coordinates. But if you want to know more about the commands you can use in Minecraft, my advice is to consult the complete list available on the English Wiki hosted on

Minecraft Bedrock Edition

If you own Minecraft Bedrock Edition, the Minecraft edition available on PCs with Windows 10 and all other devices, you can enable the command console through the world settings panel.

If you haven’t created a world yet, start Minecraft and press the Play button on the main screen. Once this is done, press on the items Create new> Create new world and scroll the screen until you find the item Activate the tricks present in the Game tab. Therefore, move the appropriate lever next to this wording to ON and press the Create button to confirm.

If you have created a world without having activated the tricks, you do not have to worry, the procedure to be performed is similar: press the Esc key , to access the pause menu of the game session in progress, and click on the Settings item. Then locate the item Activate the tricks and move the lever next to it to Yes.

Now, all you have to do is enter the game world, press the T key on the keyboard to open the chat, and then type a command, preceded by the character /. For the list of available commands, you can refer to either the one that is previewed on the chat screen, or you can consult the English Wiki hosted on

Just to give you an example, if you want to duplicate the diamonds, what you have to do is use the command / give @s minecraft: diamond [number], replacing the tag [number] with the desired numerical value. If you would like to know more about this command, I can advise you to carefully read the tips I gave you in my guide on how to duplicate diamonds in Minecraft.

How to use commands in Minecraft for smartphones and tablets

As I already told you in previous chapters, the version of Minecraft for smartphones and tablets is the same as the one available on other platforms, which is called the Bedrock Edition.

In this case, to use the command console, all you need to do is read the tips I gave you in the previous chapter dedicated to this version of Minecraft. The operations to follow are the same as those to be performed on Windows 10, the only thing that changes is the procedure to open the chat during the game session: all you have to do is press on the cartoon icon at the top.

The procedure for entering the commands is also the same as the one I have already shown you in the chapter on Minecraft Bedrock Edition. Therefore, carefully follow all the tips I gave you in the latter, so as to be sure that you can use the command console correctly.

How to use commands in Minecraft for console

If you play the console version of Minecraft, also called Bedrock Edition, the activation of the command console and its use follow exactly what I have already described in detail in the chapter dedicated to this version of Minecraft for Windows 10.

Therefore, what I advise you to do is to read carefully what I have already explained to you in that chapter, so as to be sure to be able to correctly use the command console on Minecraft.


Leave a Reply

Your email address will not be published. Required fields are marked *