First you must have xampp install in your computer- To Download and install xampp- Xampp installer
Then you have to follow these steps:
1. Download -Go to the browser and search composer for laravel or click the link- Composer in laravel.
2.You need to download composer-setup.exe
3.After installing it-Open composer and the set path to xampp\php\php.exe
Then you can open your command line and type composer.
The following content will display on you prompt.
4. Then you need to install laravel. to do so create a folder named laravel in htdoc of xampp (xampp/htdoc/laravel)
5. Copy the path of laravel and go to that path via a comand prompt and paste
composer create-project --prefer-dist laravel/laravel laravel.