First of all, install xampp server in your PC.
Go to official page of CodeIgniter and download the latest version.
Unpack the downloaded zip file to the directory c:\xampp\htdocs.
Go to xampp control panel and activate Apache and MySQL features.
Open your web server and go to the link localhost/codeigniter.
Now you are successfully installed CodeIgniter within Xampp server.