# Running Minecraft on a Raspberry Pi

## Overview

Mojang, the original developers of Minecraft have ported Minecraft to the Raspberry Pi. The result is called Minecraft Pi Edition. It is not the full Minecraft implementation, it is closer to the mobile version of Minecraft, but none the less a lot of fun.  
  
This tutorial will show you how to install and run Minecraft Pi Edition on a Raspberry Pi.

![](https://cdn-learn.adafruit.com/assets/assets/000/011/420/medium800/raspberry_pi_minecraft2.jpg?1380711726)

# Running Minecraft on a Raspberry Pi

## Download the Software

To install the software, you will need to use the command line. Because Minecraft will only work if you have keyboard, mouse and monitor connected to your Raspberry Pi, there is little point installing it using SSH.

It's easy to install if your Pi doesn't already have it, in the command terminal, run this command at the shell prompt:

```auto
sudo apt-get install minecraft-pi 
```

# Old instructions

Originally you'd have to run the following but its no longer required now that you can run the single command above!

```auto
wget https://s3.amazonaws.com/assets.minecraft.net/pi/minecraft-pi-0.1.1.tar.gz
tar -zxvf minecraft-pi-0.1.1.tar.gz
```

![](https://cdn-learn.adafruit.com/assets/assets/000/011/386/medium800/raspberry_pi_term.png?1380619024)

The end result of all this will be a folder called **mcpi** in your home directory.

# Running Minecraft on a Raspberry Pi

## Running Minecraft

Minecraft can be run from the command line with:

```auto
minecraft-pi
```

or double clicking on the Desktop icon

![](https://cdn-learn.adafruit.com/assets/assets/000/011/387/medium800/raspberry_pi_minecraft.jpg?1380619221)

Note that to get Minecraft to fit on the Raspberry Pi some shortcuts were made in the graphics code. This means that you can only play the game directly on the Raspberry Pi with the keyboard, mouse and monitor connected directly to it. It will not work over a remote connection like VNC.

# Running Minecraft on a Raspberry Pi

## What Next?

You can find out more about the Raspberry Pi port of Minecraft [here](http://pi.minecraft.net/ "Link: http://pi.minecraft.net/").  
  
**About the Author.**  
As well as contributing lots of tutorials about Raspberry Pi, Arduino and now BeagleBone Black, Simon Monk writes books about open source hardware. You will find his books for sale [here](http://www.adafruit.com/index.php?main_page=adasearch&q=simon+monk) at Adafruit.  
  
His latest book: "[The Raspberry Pi Cookbook](http://shop.oreilly.com/product/0636920029595.do "Link: http://shop.oreilly.com/product/0636920029595.do")" is out December 2013.


## Featured Products

### Raspberry Pi Model B 512MB RAM

[Raspberry Pi Model B 512MB RAM](https://www.adafruit.com/product/998)
Adafruit ships the **Raspberry Pi Model B 512MB RAM** as of 10/18/2012.  
  
The Raspberry Pi® is a single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of stimulating the teaching of basic computer science in schools. The Raspberry...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/998)
[Related Guides to the Product](https://learn.adafruit.com/products/998/guides)

## Related Guides

- [Introducing the Raspberry Pi Zero](https://learn.adafruit.com/introducing-the-raspberry-pi-zero.md)
- [3.5" PiTFT OctoPrint Rig](https://learn.adafruit.com/3-dot-5-pitft-octoprint-rig.md)
- [Adafruit Pi Stemma QT Breakout](https://learn.adafruit.com/adafruit-pi-stemma-qt-breakout.md)
- [Boomy Pi Airplay Boombox](https://learn.adafruit.com/boomy-pi-airplay.md)
- [Raspberry Pi radio player with touchscreen](https://learn.adafruit.com/raspberry-pi-radio-player-with-touchscreen.md)
- [Cupcade: the Raspberry Pi Micro Arcade Cabinet](https://learn.adafruit.com/cupcade-raspberry-pi-micro-mini-arcade-game-cabinet.md)
- [Adafruit's Raspberry Pi Lesson 5. Using a Console Cable](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable.md)
- [Send Raspberry Pi Data to COSM](https://learn.adafruit.com/send-raspberry-pi-data-to-cosm.md)
- [Adafruit DC and Stepper Motor HAT for Raspberry Pi](https://learn.adafruit.com/adafruit-dc-and-stepper-motor-hat-for-raspberry-pi.md)
- [Raspberry Pi RGB LED Matrix Webapp](https://learn.adafruit.com/raspberry-pi-rgb-led-matrix-webapp.md)
- [Adafruit DPI Display Kippah](https://learn.adafruit.com/adafruit-dpi-display-kippah-ttl-tft.md)
- [Piezo Ring Tones with Raspberry Pi](https://learn.adafruit.com/piezo-ring-tones-with-raspberry-pi.md)
- [Speech Synthesis on the Raspberry Pi](https://learn.adafruit.com/speech-synthesis-on-the-raspberry-pi.md)
- [Node.js Embedded Development on the Raspberry Pi](https://learn.adafruit.com/node-embedded-development.md)
- [Adafruit NFC/RFID on Raspberry Pi](https://learn.adafruit.com/adafruit-nfc-rfid-on-raspberry-pi.md)
