
Laravel News · 3 min readPHP
Laravel CLI: One Binary for New PHP and Rust Laravel Apps
The new Laravel CLI is a single binary that lets you scaffold Laravel projects in PHP or Rust and run their console commands, handling language-specific tooling automatically. It explains installation across platforms, path configuration, and how to switch from the older Composer installer, enabling developers to adopt the unified tool quickly.
- Install the Laravel CLI via a curl or PowerShell script and it adds a ~/.laravel/bin directory to PATH
- Use "laravel new <app> --php" or "--rust" to create projects, and the CLI proxies to artisan or cargo run for commands
- Remove or reorder the old Composer installer in PATH to ensure the new binary is used first