How to Fix Laravel is not recognized as an internal & external command Error in Terminal
0 views
Jul 6, 2025
Get the full source code of application here:
View Video Transcript
0:00
Uh hello guys, welcome to this video. So
0:02
in this video, I'll show you how to fix
0:04
this error message. If you are getting
0:06
this error message, Laravel is not
0:08
recognized as an internal or external
0:09
command. So it's very easy to fix this
0:12
error message. You do need to install
0:14
Laravel installer globally using
0:16
composer. So you should have composer
0:19
installed which is a dependency manager
0:21
for PHP applications. If you want to
0:23
install third party packages, if you
0:26
haven't installed this, simply type
0:28
composer download. So, especially on
0:31
Windows, it has a .exe file. So, it can
0:33
easily download the setup file. So, once
0:36
composer is installed, you can execute
0:38
this command
0:40
which I will show you.
0:44
So, I've given this command in the
0:46
description of the video.
0:50
So just
0:52
composer global require
0:54
laravel/installer.
0:57
So just execute this command. So this
0:59
will install Laravel globally inside
1:01
your system.
1:03
So
1:06
so now it is installing Laravel inside
1:08
your system. So this will hardly take uh
1:12
15 to 20 seconds and then Laravel will
1:15
be installed
1:18
and through that you will be able to
1:20
create Laravel projects directly through
1:22
the terminals.
1:24
Just wait for the process to complete.
1:30
So now after that you simply type the
1:33
command darl and new app.
1:37
As soon as you execute this, Laravel
1:40
will create a new project for you. And
1:43
it is asking some questions. Would you
1:46
like to install a starter kit?
1:50
So here you can say none
1:53
which testing framework you can say.
2:01
So the command is simple Laravel new
2:03
app. So it will
2:06
go with the default options I think.
2:15
So then it will tell you this
2:35
So in this easy way you can install
2:36
Laravel directly inside your terminal
2:39
and create a new Laravel project
2:44
and also check out my website
2:46
freemediattools.com
2:47
uh which contains thousands of tweets.
#Programming