If you’re using the Raspberry Pi Foundation’s official Raspbian operating system you can use the Recommended Software application to install mu.
sudo apt-get update
sudo apt-get dist-upgrade
You can also install Mu from the command line using the command:
sudo apt-get install mu-editor