DEV Community

Cover image for Setup your laravel 11 in windows
Dhenmark Arquiza
Dhenmark Arquiza

Posted on

Setup your laravel 11 in windows

Before you start crafting your masterpiece, let's ensure your development environment is shipshape! In this guide, we'll walk you through setting up your workspace for the latest version of Laravel.

Think of it as prepping your canvas before painting your next masterpiece! We'll make sure all the tools and dependencies are in place for a smooth sail.

First, set up your terminal using WSL

a. Enable WSL2 Feature

  • Open PowerShell as Administrator.
  • Run the following command to enable the Virtual Machine Platform feature:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Enter fullscreen mode Exit fullscreen mode

b. Download and Install Ubuntu from Microsoft Store:

  • Open the Microsoft Store.
  • Search for "Ubuntu" and select the version you want (e.g., Ubuntu 20.04 LTS).
  • Click "Install" and wait for the installation to complete.

c. Initialize Ubuntu:

  • Launch Ubuntu from the Start menu or use windows terminal.
  • Wait for the installation to complete, then create a new user and password when prompted.

d. Update and Upgrade Packages:

  • Run the following commands to update the package lists and upgrade existing packages:
sudo apt update
sudo apt upgrade
Enter fullscreen mode Exit fullscreen mode

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay