We can install CodeIgniter in the following ways: 

Manually:

Download⇒ Extract ⇒ copy to server location

Using Composer:

composer create-project codeigniter4/appstarter <project-folder-name>

Note: Composer installation is always recommended