I'm on Kubuntu (25.10) and I just tried creating a new laravel app using the laravel installer laravel new myapp and got this error
In Terminal.php line 114: stty: invalid argument '4500:5:f00bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0'
new [--dev] [--git] [--branch BRANCH] [--github [GITHUB]] [--organization ORGANIZATION] [--database DATABASE] [--react] [--vue] [--livewire] [--livewire-class-components] [--workos] [--no-authentication] [--pest] [--phpunit] [--npm] [--pnpm] [--bun] [--yarn] [--boost] [--using [USING]] [-f|--force] [--]
So I used composer to install it composer create-project --prefer-dist laravel/laravel myapp and it worked but I got the same error again when I tried to create a new filament panel after installing Filament php artisan filament:install --panels:
RuntimeException
stty: invalid argument '4500:5:f00bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0'
at vendor/laravel/prompts/src/Terminal.php:114
110▕ $stderr = stream_get_contents($pipes[2]);
111▕ $code = proc_close($process);
112▕
113▕ if ($code !== 0 || $stdout === false) {
➜ 114▕ throw new RuntimeException(trim($stderr ?: "Unknown error (code: $code)"), $code);
115▕ }
116▕
117▕ return $stdout;
118▕ }
+19 vendor frames
20 artisan:16
Illuminate\Foundation\Application::handleCommand()