Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Nick7's avatar
Level 2

Version Laravel/Installer

Hi, i am a little bit confused about checking the version of Laravel/Installer, not Laravel/Framework. The current version should be 4. I red averall the command: laravel -V => command not found composer laravel -V => Composer version 1.10.13 composer laravel/installer -V => Composer version 1.10.13 php artisan -V => Laravel Framework 7.22.4 composer global about => Changed current directory to /home/user/.composer ... There is also a folder: /home/user/.composer/vendor/laravel/installer I did also this in the beginning: composer global require laravel/installer But how i can check the version of installer? Should be 4 ... for jetstream...

0 likes
6 replies
Snapey's avatar

What do you get from

cat ~/.composer/composer.json

I just changed the version number in composer's composer.json then ran composer install.

Nick7's avatar
Level 2

"require": { "laravel/installer": "^4.0" }

It seems to be ok. But why doesn't work a command, e.g. "laravel -V", that list me the exact version?

Snapey's avatar

What do you get with

ls -la ~/.composer/vendor/bin

The command

 laravel -V 

should show the version, if command not found then you don't have the path set correctly as @ismaile said earlier

Nick7's avatar
Level 2

Yes indeed. Thanks also @ismaile. Now "laravel -V" works: Laravel Installer 4.0.3

Its only nessecary to update for jetstream if i use laravel/installer? Or also if i create a laravel project via Composer Create-Project? Normally i use create project.

Snapey's avatar

its only necessary to update laravel if you intend to use it

composer create-project does not use the laravel installer or even need it on your machine

Please or to participate in this conversation.