After you’ve done that, follow these steps.
1st Step: Open a terminal app as you’ll need to gain SSH access to your AppleTV.2nd Step: Type ssh email@example.com – if that doesn’t work for you, instead of typing apple-tv.local, replace it with your AppleTV’s IP address which can be found under Settings then Network on your AppleTV.
3rd Step: You’ll be asked for the password to your AppleTV next. By default, it is alpine. If you have changed it, enter the password you chose on your own instead. You may be asked if you’re sure you wish to continue, just type “yes”.
4th Step: Once you are at the root menu, type (or copy/paste) this: echo "deb http://mirrors.xbmc.org/apt/atv2 ./" > /etc/apt/sources.list.d/xbmc.list and hit “enter”.
5th Step: Next type (or copy/paste) this: apt-get update and hit “enter”.
6th Step: A list of available apps will populate. Type (or copy/paste) this: apt-get install org.xbmc.xbmc-atv2 and hit “enter”.
7th Step: You’ll see the app begin to install and once it reaches 100%, you’re done. Your AppleTV should flash briefly and when the main menu pops back up, XBMC should be added.