We already discuss know about the setup of Codeigniter. If you have any issue with the Codeigniter setup then you can check this post Codeigniter Setup.
Installation of PhpSpreadsheet
To download open command prompt and run command from your project root folder.