Skip to content

Instantly share code, notes, and snippets.

@JavanXD
Last active July 15, 2024 08:36
Show Gist options
  • Save JavanXD/ef7deb0fb998458c13c42675a86fdba8 to your computer and use it in GitHub Desktop.
Save JavanXD/ef7deb0fb998458c13c42675a86fdba8 to your computer and use it in GitHub Desktop.
Hot To: Install Kali Linux as Windows Subsystem
  1. Enable feature in PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  2. Download Kali AppX File: https://aka.ms/wsl-kali-linux-new

    Invoke-WebRequest -Uri https://aka.ms/wsl-kali-linux-new -OutFile Kali.appx -UseBasicParsing
    
  3. Open PowerShell as Admin and Run: Add-AppxPackage .\Kali.appx

  4. Run kali. Create user:user.

  5. Set default user: kali config --default-user root

  6. Keep system up to date:

    apt-get update && apt-get dist-upgrade -y
    apt-get install -y kali-linux-full --fix-missing
    
@foZZyLogic43
Copy link

Thank you!

@CDL-Personal
Copy link

Tysm <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment