Install laravel via laravel installer windows

Rakesh Sharma      18 Comments  

Install laravel via laravel installer windows xampp or wamp

Laravel 5 has new method to install via laravel installer on all operating systems like windows, ubuntu, mac etc and for xampp or wamp. installing laravel via laravel installer method on windows is much faster then composer. you will get a quickly installed laravel in few hands. there is only require few commands to install and will be instant install so it’s a quick method. Below i am sharing how to install laravel via laravel installer windows xampp and wamp. so why not give a hand to install A robust, secure, fast performance php framework and many more features you will get and more coming soon. This is the new version and you are getting a new installation feature so guess how fast work is going on updation.

Install laravel via laravel installer windows xampp/wamp steps :-

1. It’s requires Composer to manage its dependencies. so first need to download composer
2. After download composer, install composer on your system.
3. Run below command to check composer has installed successfully

# check composer working

Install laravel via laravel installer windows

4. After composer installed successfully we need to install laravel installer via composer so open windows command prompt and run below command to install.

# installing installer
composer global require "laravel/installer=~1.1"


5. After install it’s installer we need to set PATH environment variable for setup PATH run below command

# setting up env path
set PATH=%PATH%;%USERPROFILE%\AppData\Roaming\Composer\vendor\bin

PATH :- path is a location where composer installed ” ~/.composer/vendor/bin” on Windows path should be used:
“C:\Users\\AppData\Roaming\Composer\vendor\bin” so in above command added “%USERPROFILE%” so this will auto get your computer name


For test run command laravel to check you have path setuped correctly

# testing command 

Laravel command not found windows :-

This is an optional part if your above testing command not running correct. sometimes if you not setup the PATH correctly you will get Laravel command not found error on windows. for resolve laravel command not found error you need to setup your path environment variable correctly. many times we stuck this error so i am adding this part also. if you have setuped path variable right run command and you will get output success then keep continue with next step to successful installation.

6. Now We need to change directory where we want to install laravel so first change and go to your preferred location to install then run below command to install.

# installing 
laravel new laranew

Now you have done with Install laravel via laravel installer windows (xampp/wamp). and open url on http://localhost/laranew and bam.


  • Sohail Ahmed

    The command to set path is not working. I then added %USERPROFILE%AppDataRoamingComposervendorbin manually in my user variables

  • peter

    First i have already installed laravel sucessfully but.I am not able to install database in laravel and how can i access laravel admin panel in my localhost server. can you please help me?

    • First go to your phpmyadmin and create a database then add your database settings in “app/config/database.php” in connections array where which db driver you are using. then you need to create an admin section there is not any inbuilt admin panel.

  • peter

    Thank you sir for your kind information.

  • thank you so much

  • Osteele

    “laravel new blog” does not work for me even though my path is configured correctly in Windows 7. I have even tried “php laravel new blog”. Same result. I also find it strange that I see liferaft and lumen in my C:UsersPeterAppDataRoamingComposervendorbin directory, but no laravel. I must be missing something

  • Gerald Agustin

    thank you so much, such a great tutorial

  • MJ

    Nice tutorial. it helped me a lot.. :D

  • Danjavia

    Thanks so useful tutorial :)

  • Mathea

    thank you.. this exactly what i needed

  • Hardik4560

    Yeah…thanks man !! You made it simple with the examples.

  • Francis Ishmail

    Thanks a lot. You simplified the docs

  • Sanjid Mishu

    Tnx bro….Its working

  • joh

    A problem occurred when crafting the application after issuing the command “laravel new project” in cmd

  • Kaiser Tushar

    To see Index.php or Welcome page of Laravel i have to type:


  • Prateek Varma

    ..just a suggestion. Using TOO many onclick redirecting ads are making your visitors leave your website, no matter how good your content is. Good luck.

  • Great Work man, Now I clearely Understand how laravel installer works. Its too Handy at times :P

  • Your article seems most correct when it comes to Xampp Laravel installation no doubt about it.

    Seems like you are hacked or something because too many popups and codec pack download options are coming on your site which is very bad. I am sure, if you write content this good, you can fix your site too.

    Best of luck, i will keep coming but you need to fix your site and ditch all the 2nd world war time popups :)