Setup your laravel 11 in windows

Dhenmark Arquiza - Sep 5 - - Dev Community

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
. . .
Terabox Video Player