Instructions are linked from the main downloads page for RetroPie
https://github.com/RetroPie/RetroPie-Setup/wiki/First-Installation
non libretro emulators may need manual configuration - it is all detailed on the wiki. The RetroPie forum i a good place if you get stuck as there are many users who can help.