Menu

Laravel for Rust in EnvKit: create an app on Windows or macOS without setting up a toolchain
πŸ“°

Laravel for Rust in EnvKit: create an app on Windows or macOS without setting up a toolchain

DEV Community: laravelΒ·Ziad TalaatΒ·3 days ago
#9MgDtiAR
#devtolaravel#devto#dev#laravel#envkit
Long article (1314 words) β€” no AI summary yet.
Reading 0:00
15s threshold

On December 1 Laravel released the first beta of Laravel for Rust (Laravel calls it Laravel Rust): the Laravel way of building apps, written in Rust on Axum and Tokio, with Inertia, React and Vite on the front end. You create an app with the new Laravel CLI and laravel new <name> --rust .

That one command needs a fair amount underneath it: a Rust toolchain, a C compiler (some dependencies compile C code), Node.js, the CLI itself and a database. EnvKit 1.0.3 adds a project type that sets all of that up. This post walks through it on Windows and macOS, and explains one Windows bug in the CLI and what EnvKit does about it.

What you need

EnvKit 1.0.3 or newer. It's free and needs no account.

Windows 10 or 11 on x64, macOS on Apple Silicon, or Linux x86_64.

Disk space and some patience for the first build. It compiles the whole framework, which takes several minutes on a laptop.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.