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

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

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