Code Connection no longer supported!
The Code Connection app that links with Minecraft for Windows 10 is no longer supported as of December 1, 2023. Please see the setup page to learn how to start coding with Minecraft Education Edition.
Follow these easy steps for Minecraft on Windows 10!
Buy and install Minecraft for Windows 10 from the Windows Store.
Once you have the game installed, you’ll need to download and install the Code Connection app. You get this from same download location as Minecraft: Education Edition.
The Code Connection app is downloaded as a Windows installation package. Find the CodeConnection.msi file and double-click on it to start the installation.
You’ll need a fresh world with cheats enabled.
Start Minecraft
Press the Play button. Push the Create New button in the Worlds dialog. The Create… window will have some default templates you could choose from but make your own world with the Create New World button.
You’ll see some settings for your new world. Leave everything as you see it except for Cheats. You need to turn Activate Cheats to the ON position to enable all of the coding features for MakeCode.
Press Create and you can start playing in your new world.
Start the Code Connection app (you’ll find the icon on your desktop). Right away you’ll see a window asking you to make a connection to Minecraft by entering a slash command on the chat line. The command tells Minecraft to connect with a certain address. You can just press the copy button and the command will copy to the clipboard.
Now, go to your Minecraft game with the world just created. Hit the “T” key to open the chat bar. Paste in the slash command you just copied from Code Connection by pressing Ctrl+V and press “enter” or hit the arrow button.
Code Connection will popup another window with a number of editors to choose from. Hit “esc” to leave the game momentarily. Go over to the Code Connection window and press the MakeCode button, of course. The MakeCode editor will load. Select “New Project” in the “My Projects” gallery to start a fresh project. If you want to try a tutorial or another example instead, pick one of those from the galleries.
To run your code in Minecraft, go back to the game after working with your coding project. Press Resume Game. Depending on what your code is meant to do, your code might run as a chat command or maybe start when some condition in the game changes. Try one of the tutorials and follow the steps.
Minecraft has keyboard controls that help you move around and do tasks. Here’s a helpful key card that shows what they are: